Created
October 27, 2010 20:49
-
-
Save wandernauta/649955 to your computer and use it in GitHub Desktop.
A demonstration that ooc's float handling is perfect.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f := 44.0 | |
f += 0.0000000044 | |
f -= 0.0000000044 | |
"This should print 44:" println() | |
"%.40f" format(f) println() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment