This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients aleax, christian.heimes, ggenellina, loewis, mancausoft, mark.dickinson, rhettinger
Date 2009-10-24.14:19:33
SpamBayes Score 0.0026150362
Marked as misclassified No
Message-id <1256393974.85.0.304963767914.issue1678380@psf.upfronthosting.co.za>
In-reply-to
Content
Mancausoft:  is this little-endian, OABI?

If so, then I think I know  what the problem is:  the disambiguation code 
in compile.c looks at the first and last bytes of the double to 
distinguish 0.0 and -0.0;  for mixed-endian (aka little-endian, swapped 
words) doubles this will fail.

The solution is to use copysign instead.
History
Date User Action Args
2009-10-24 14:19:35mark.dickinsonsetrecipients: + mark.dickinson, loewis, aleax, rhettinger, ggenellina, christian.heimes, mancausoft
2009-10-24 14:19:34mark.dickinsonsetmessageid: <1256393974.85.0.304963767914.issue1678380@psf.upfronthosting.co.za>
2009-10-24 14:19:33mark.dickinsonlinkissue1678380 messages
2009-10-24 14:19:33mark.dickinsoncreate