]> granicus.if.org Git - python/commit
Issue #1678380: When distinguishing between -0.0 and 0.0 in
authorMark Dickinson <dickinsm@gmail.com>
Sat, 28 Nov 2009 16:32:27 +0000 (16:32 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 28 Nov 2009 16:32:27 +0000 (16:32 +0000)
commitccc690d650f0b784c5d0445d0c34d372d2d24ec3
tree270edb89cb7c1115df78de19b79fb9a6a5db8924
parentd16f57bf4db4417c8d7a038a0b61bb24461cd64a
Issue #1678380: When distinguishing between -0.0 and 0.0 in
compiler_add_o, use copysign instead of examining the first and last
bytes of the double.  The latter method fails for little-endian
ARM, OABI, where doubles are little-endian but with the words swapped.
Python/compile.c