From 59ca92093c548af1acb4bc3e9e9dc3649ece513d Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 17 Oct 2009 07:06:37 +0000 Subject: [PATCH] test_math ulp computation was wrong on big-endian systems --- Lib/test/test_math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py index 2f45a1ea3cd..41c2f4fe47e 100644 --- a/Lib/test/test_math.py +++ b/Lib/test/test_math.py @@ -43,7 +43,7 @@ def to_ulps(x): where C doubles are represented in IEEE 754 binary64 format. """ - n = struct.unpack('q', struct.pack('