summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math_constants_extra.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/math_constants_extra.py')
-rw-r--r--tests/float/math_constants_extra.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/float/math_constants_extra.py b/tests/float/math_constants_extra.py
index dea49aef5a..756cb45803 100644
--- a/tests/float/math_constants_extra.py
+++ b/tests/float/math_constants_extra.py
@@ -9,9 +9,12 @@ except (ImportError, AttributeError):
raise SystemExit
print(math.tau == 2.0 * math.pi)
+print(math.copysign(1.0, math.tau))
print(math.inf == float("inf"))
print(-math.inf == -float("inf"))
+print(math.copysign(1.0, math.inf))
print(isnan(math.nan))
print(isnan(-math.nan))
+print(math.copysign(1.0, math.nan))