Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
3b936a5f
Commit
3b936a5f
authored
Jan 08, 2016
by
Damien George
Browse files
tests: Fix math_fun_special test so it passes with single prec float.
parent
da3dffa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/float/math_fun_special.py
View file @
3b936a5f
...
...
@@ -31,6 +31,6 @@ for function_name, function, test_vals in functions:
print
(
function_name
)
for
value
in
test_vals
:
try
:
print
(
"{:.
5
g}"
.
format
(
function
(
value
)))
print
(
"{:.
4
g}"
.
format
(
function
(
value
)))
except
ValueError
as
e
:
print
(
str
(
e
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment