Skip to content
Snippets Groups Projects
Commit 3b936a5f authored by Damien George's avatar Damien George
Browse files

tests: Fix math_fun_special test so it passes with single prec float.

parent da3dffa7
Branches
No related tags found
No related merge requests found
...@@ -31,6 +31,6 @@ for function_name, function, test_vals in functions: ...@@ -31,6 +31,6 @@ for function_name, function, test_vals in functions:
print(function_name) print(function_name)
for value in test_vals: for value in test_vals:
try: try:
print("{:.5g}".format(function(value))) print("{:.4g}".format(function(value)))
except ValueError as e: except ValueError as e:
print(str(e)) print(str(e))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment