Created
March 25, 2013 22:13
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
/** A series of doubles useful for testing safe methods. */ | |
val doubles = List[Double]( | |
-2, // log, sqrt produce NaN | |
-1, // log, sqrt produce NaN | |
0, // log produces -Infinity, sqrt produces 0 | |
0.5, // log produces negative | |
1, // log produces 0 | |
2) // keeping things positive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment