Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andruby
on March 3, 2014
|
parent
|
context
|
favorite
| on:
Mt. Gox Has Been Hacked by People Trying to Find O...
As an example in Ruby (2.1.1):
x = 0.1 #=> 0.1 10.times { x+=0.1 } #=> 10 x #=> 1.0999999999999999
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
x = 0.1 #=> 0.1 10.times { x+=0.1 } #=> 10 x #=> 1.0999999999999999