summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-12-06 14:05:14 +1100
committerDamien George <damien@micropython.org>2023-12-06 14:06:01 +1100
commitb796f1e3f12f3c0a0a75b4b1b7f01f234a3f4dda (patch)
tree5fc625e85f2791f4f213de66e70f9c6838e388a0
parent3f2c423686e735ae4c8529b1df018d9884f48ce2 (diff)
tests/float/inf_nan_arith.py: Include -inf in argument combos.
This adds tests for, eg, -inf + inf which should be nan. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--tests/float/inf_nan_arith.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/float/inf_nan_arith.py b/tests/float/inf_nan_arith.py
index d1a6b1887..33cadbf39 100644
--- a/tests/float/inf_nan_arith.py
+++ b/tests/float/inf_nan_arith.py
@@ -3,7 +3,7 @@
inf = float("inf")
nan = float("nan")
-values = (-2, -1, 0, 1, 2, inf, nan)
+values = (-2, -1, 0, 1, 2, inf, -inf, nan)
for x in values:
for y in values: