From 1710bfbe7e1e651c595bdcfb84054e0d2185b6c3 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 git-svn-id: http://svn.python.org/projects/python/trunk@75454 6015fed2-1504-0410-9fe1-9d1591cc4771 --- 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 2f45a1ea3c..41c2f4fe47 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('