PageRenderTime 27ms CodeModel.GetById 26ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 0ms

Plain Text | 11 lines | 11 code | 0 blank | 0 comment | 0 complexity | 109db7b8c0849441f2c047891cf180d6 MD5 | raw file
Possible License(s): LGPL-2.1
 1fails:BigDecimal#sqrt raises ArgumentError if a negative number is given
 2fails:BigDecimal#sqrt returns square root of 2 with desired precision
 3fails:BigDecimal#sqrt returns square root of 3 with desired precision
 4fails:BigDecimal#sqrt returns square root of 121 with desired precision
 5fails:BigDecimal#sqrt returns square root of 0.9E-99999 with desired precision
 6fails:BigDecimal#sqrt returns 1 if precision is 0 or 1
 7fails:BigDecimal#sqrt raises FloatDomainError on negative values
 8fails:BigDecimal#sqrt returns positive infitinity for infinity
 9fails:BigDecimal#sqrt raises FloatDomainError for negative infinity
10fails:BigDecimal#sqrt raises FloatDomainError for NaN
11fails:BigDecimal#sqrt returns 0 for 0, +0.0 and -0.0