circuitpython/tests/float/math_domain_python311.py.exp
Damien George ed962f1f23 tests/float: Test domain errors for more combos of args to math funcs.
Instead of having a special set of arguments to test for each math-module
function, just test all functions with all sets of arguments.  This gives
improved test cases to prevent regressions.

Signed-off-by: Damien George <damien@micropython.org>
2023-06-18 12:45:55 +10:00

6 lines
145 B
Plaintext

pow(0.0000, -inf) = inf
log(0.0000, -inf) = ValueError
fmod(0.0000, -inf) = 0.0000
atan2(0.0000, -inf) = 3.1416
copysign(0.0000, -inf) = -0.0000