Files
cpython/Lib
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-03-07 17:30:48 +00:00
2003-02-27 20:14:51 +00:00
2003-02-14 01:13:01 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-19 02:35:07 +00:00
2003-02-02 23:08:27 +00:00
2003-01-16 11:02:43 +00:00
2003-02-27 20:14:51 +00:00
2003-03-07 17:30:48 +00:00
2003-03-01 22:58:00 +00:00
2003-01-29 03:49:43 +00:00
2003-02-27 00:05:31 +00:00
2003-02-27 20:14:51 +00:00
2003-02-05 21:35:07 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 23:18:46 +00:00
2003-02-27 20:14:51 +00:00
2003-01-04 14:11:38 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 23:18:46 +00:00
2003-01-31 00:35:58 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-01-21 01:53:09 +00:00
2003-02-27 20:14:51 +00:00
2003-02-14 01:14:15 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-01-07 02:09:16 +00:00
2003-02-27 20:14:51 +00:00
2003-03-09 07:05:43 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00