diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/math.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/math.rb b/test/t/math.rb index e582c0166..780b805d2 100644 --- a/test/t/math.rb +++ b/test/t/math.rb @@ -110,6 +110,10 @@ if Object.const_defined?(:Math) check_float(Math.erf(1), 0.842700792949715) end + assert('Math.erfc 1') do + check_float(Math.erfc(1), 0.157299207050285) + end + assert('Math.erf -1') do check_float(Math.erf(-1), -0.8427007929497148) end |
