summaryrefslogtreecommitdiff
path: root/tests/float/math_domain.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/math_domain.py')
-rw-r--r--tests/float/math_domain.py21
1 files changed, 20 insertions, 1 deletions
diff --git a/tests/float/math_domain.py b/tests/float/math_domain.py
index 063d509b5..606a65528 100644
--- a/tests/float/math_domain.py
+++ b/tests/float/math_domain.py
@@ -39,7 +39,26 @@ for name, f, args in (
# double argument functions
for name, f, args in (
- ("pow", math.pow, ((0, 2), (-1, 2), (0, -1), (-1, 2.3), (nan, 0), (1, nan))),
+ (
+ "pow",
+ math.pow,
+ (
+ (0, 2),
+ (-1, 2),
+ (0, -1),
+ (-1, 2.3),
+ (0.5, inf),
+ (-0.5, inf),
+ (0.5, -inf),
+ (-0.5, -inf),
+ (1.5, inf),
+ (-1.5, inf),
+ (1.5, -inf),
+ (-1.5, -inf),
+ (nan, 0),
+ (1, nan),
+ ),
+ ),
("log", math.log, ()),
("fmod", math.fmod, ((1.2, inf), (1.2, -inf), (1.2, 0), (inf, 1.2))),
("atan2", math.atan2, ((0, 0), (-inf, inf), (-inf, -inf), (inf, -inf))),