tests: Fix math_fun_special test so it passes with single prec float.
This commit is contained in:
parent
da3dffa79d
commit
3b936a5f4c
@ -31,6 +31,6 @@ for function_name, function, test_vals in functions:
|
||||
print(function_name)
|
||||
for value in test_vals:
|
||||
try:
|
||||
print("{:.5g}".format(function(value)))
|
||||
print("{:.4g}".format(function(value)))
|
||||
except ValueError as e:
|
||||
print(str(e))
|
||||
|
Loading…
Reference in New Issue
Block a user