Restore accidentally deleted erfc(1) test

This commit is contained in:
Xuejie Xiao
2012-11-19 15:19:52 -05:00
parent f7dd27a928
commit 358f0cb5d8
+4
View File
@@ -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