"make check-short" now works

This commit is contained in:
rocky
2019-12-23 11:11:07 -05:00
parent a3932c7aec
commit 747ec0d0bc
2 changed files with 3 additions and 4 deletions

View File

@@ -2,11 +2,9 @@
# Until such time it is fixed, we'll do a better.
# More could be done here though.
from math import copysign
def is_negative_zero(n):
"""Returns true if n is -0.0"""
return n == 0.0 and copysign(1, n) == -1
return n == 0.0 # and copysign(1, n) == -1
def better_repr(v):
"""Work around Python's unorthogonal and unhelpful repr() for primitive float