Created
November 4, 2015 18:03
-
-
Save adamkuipers/0d1f7c86f3a42c7811ad to your computer and use it in GitHub Desktop.
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
scala> val x1: Float = Long.MaxValue | |
x1: Float = 9.223372E18 | |
scala> val x2 = Long.MaxValue - Int.MaxValue | |
x2: Long = 9223372034707292160 | |
scala> x1 == x2 | |
res0: Boolean = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment