mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Restore accidentally deleted erfc(1) test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user