Skip to content

Instantly share code, notes, and snippets.

@wandernauta
Created October 27, 2010 20:49
Show Gist options
  • Save wandernauta/649955 to your computer and use it in GitHub Desktop.
Save wandernauta/649955 to your computer and use it in GitHub Desktop.
A demonstration that ooc's float handling is perfect.
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