Files
cpython/Modules
Tim Peters d50ade68ec SF bug 705836: struct.pack of floats in non-native endian order
pack_float, pack_double, save_float:  All the routines for creating
IEEE-format packed representations of floats and doubles simply ignored
that rounding can (in rare cases) propagate out of a long string of
1 bits.  At worst, the end-off carry can (by mistake) interfere with
the exponent value, and then unpacking yields a result wrong by a factor
of 2.  In less severe cases, it can end up losing more low-order bits
than intended, or fail to catch overflow *caused* by rounding.

Bugfix candidate, but I already backported this to 2.2.

In 2.3, this code remains in severe need of refactoring.
2003-03-20 18:32:13 +00:00
..
2003-02-03 04:28:26 +00:00
2003-02-02 17:08:33 +00:00
2002-07-17 16:30:39 +00:00
2003-03-03 12:29:42 +00:00
2002-07-17 16:30:39 +00:00
2002-11-09 19:54:06 +00:00
2002-12-06 12:48:53 +00:00
2003-03-01 15:19:41 +00:00
2002-08-07 16:21:51 +00:00
2002-10-30 21:08:34 +00:00
2002-07-17 16:30:39 +00:00
2003-02-13 18:44:57 +00:00