Created
April 8, 2016 18:59
-
-
Save smith/474cf97657bfef390ed067061cf1b678 to your computer and use it in GitHub Desktop.
ieee 754 lol
This file contains 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
nathansmith@opstop ~> pry | |
[1] pry(main)> 0.1 + 0.2 | |
=> 0.30000000000000004 | |
[2] pry(main)> | |
nathansmith@opstop ~> python | |
Python 2.7.4 (default, May 6 2013, 00:06:59) | |
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> 0.1 + 0.2 | |
0.30000000000000004 | |
>>> | |
nathansmith@opstop ~> clj | |
Clojure 1.5.1 | |
user=> (+ 0.1 0.2) | |
0.30000000000000004 | |
user=> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment