Commit 358f0cb5 authored by Xuejie Xiao's avatar Xuejie Xiao

Restore accidentally deleted erfc(1) test

parent f7dd27a9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment