[issue12589] test_long.test_nan_inf() failed on OpenBSD (powerpc)
Landry Breuil
report at bugs.python.org
Thu Jul 21 21:22:00 CEST 2011
Landry Breuil <landry at openbsd.org> added the comment:
>>> import struct
>>> struct.pack("d", float("inf"))
b'\x7f\xf0\x00\x00\x00\x00\x00\x00'
>>> struct.pack("f", float("inf"))
b'\x7f\x80\x00\x00'
And yes, HAVE_DECL_ISINF is defined to 1 in pyconfig.h
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12589>
_______________________________________
More information about the Python-bugs-list
mailing list