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-08 03:18:58 +00:00
2003-03-07 17:30:48 +00:00
2003-03-03 20:07:27 +00:00
2003-03-17 20:36:20 +00:00
2003-02-28 20:00:42 +00:00
2003-03-12 20:52:00 +00:00
2003-01-30 00:56:33 +00:00
2003-03-02 20:47:29 +00:00
2003-03-17 10:54:41 +00:00
2003-02-14 19:35:31 +00:00
2003-03-20 18:32:13 +00:00
2003-02-27 20:14:51 +00:00
2003-03-09 07:44:42 +00:00
2003-03-10 15:16:54 +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-01-06 15:43:34 +00:00
2003-02-27 20:14:51 +00:00
2003-02-13 22:58:02 +00:00
2003-02-27 20:14:51 +00:00
2003-01-08 18:53:18 +00:00
2003-02-19 02:35:07 +00:00
2003-02-13 22:07:59 +00:00
2003-02-02 23:08:27 +00:00
2003-02-13 22:07:59 +00:00
2003-01-16 11:02:43 +00:00
2003-02-21 22:20:31 +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-01-08 16:33:16 +00:00
2003-02-27 20:14:51 +00:00
2003-02-06 19:52:56 +00:00
2003-03-10 16:01:43 +00:00
2003-02-05 21:35:07 +00:00
2003-03-14 16:21:57 +00:00
2003-03-06 16:31:48 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-01-19 13:21:20 +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-03-05 17:23:48 +00:00
2003-02-27 20:14:51 +00:00
2003-02-17 09:17:50 +00:00
2003-02-27 21:27:52 +00:00
2003-01-04 21:54:26 +00:00
2003-02-14 19:35:31 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-18 22:49:10 +00:00
2003-02-05 19:55:53 +00:00
2003-02-14 19:35:31 +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-03-01 15:22:41 +00:00
2003-01-17 17:23:23 +00:00
2003-01-31 00:35:58 +00:00
2003-02-05 18:29:34 +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-03-02 00:19:49 +00:00
2003-03-14 16:21:57 +00:00
2003-01-21 01:53:09 +00:00
2003-02-23 21:36:32 +00:00
2003-01-29 03:49:43 +00:00
2003-03-03 09:34:01 +00:00
2003-02-24 01:18:35 +00:00
2003-01-31 16:04:15 +00:00
2003-03-07 15:36:41 +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-03-15 12:25:00 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-10 19:38:33 +00:00
2003-02-27 20:14:51 +00:00
2003-03-09 05:33:33 +00:00
2003-01-07 02:09:16 +00:00
2003-03-06 23:54:28 +00:00
2003-02-27 20:14:51 +00:00
2003-02-19 00:33:33 +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
2003-01-15 11:51:06 +00:00