• Tim Peters's avatar
    SF bug 705836: struct.pack of floats in non-native endian order · d50ade68
    Tim Peters yazdı
    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.
    d50ade68
Adı
Son kayıt (commit)
Son güncelleme
..
RPM Loading commit data...
ACKS Loading commit data...
AIX-NOTES Loading commit data...
BeOS-NOTES Loading commit data...
BeOS-setup.py Loading commit data...
HISTORY Loading commit data...
NEWS Loading commit data...
NEWS.help Loading commit data...
PURIFY.README Loading commit data...
Porting Loading commit data...
README Loading commit data...
RFD Loading commit data...
SpecialBuilds.txt Loading commit data...
cheatsheet Loading commit data...
find_recursionlimit.py Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
pymemcompat.h Loading commit data...
python-mode.el Loading commit data...
python.man Loading commit data...
setuid-prog.c Loading commit data...
vgrindefs Loading commit data...