]> granicus.if.org Git - python/commit
Fix float.from_hex tests. It appears that Linux/ia64 doesn't like
authorMark Dickinson <dickinsm@gmail.com>
Tue, 15 Jul 2008 21:55:23 +0000 (21:55 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 15 Jul 2008 21:55:23 +0000 (21:55 +0000)
commit62764566e8892233d0408368d6760bd710b1c504
treefd65e39c3cbee3ae90c4af8fa4787a26efb6f72a
parent2affb40e70808c3613708ab2e360b5070e1583f7
Fix float.from_hex tests.  It appears that Linux/ia64 doesn't like
computing 2.0**-1074 accurately.  Using ldexp(1.0, -1074) should be
safer.
Lib/test/test_float.py