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 tim.peters
Recipients Serge Anuchin, mark.dickinson, r.david.murray, rhettinger, serhiy.storchaka, skrah, steven.daprano, tim.peters, vstinner
Date 2015-07-03.00:37:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435883840.94.0.761307744949.issue24546@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the legwork, Steven!

So far it looks like a gcc bug when using -m32 (whether ints, longs and/or pointers are 4 or 8 bytes _should_ make no difference to anything in Jason Swails's C example).

But it may be a red herring anyway:  there's only one chance in 2**53 of getting a random.random() result equal to 1.-2.**-53 to begin with.
History
Date User Action Args
2015-07-03 00:37:21tim.peterssetrecipients: + tim.peters, rhettinger, mark.dickinson, vstinner, steven.daprano, r.david.murray, skrah, serhiy.storchaka, Serge Anuchin
2015-07-03 00:37:20tim.peterssetmessageid: <1435883840.94.0.761307744949.issue24546@psf.upfronthosting.co.za>
2015-07-03 00:37:20tim.peterslinkissue24546 messages
2015-07-03 00:37:20tim.peterscreate