Author drj
Recipients drj, mark.dickinson
Date 2008-08-26.21:10:31
SpamBayes Score 0.000118886
Marked as misclassified No
Message-id <1219785033.05.0.251841272286.issue3166@psf.upfronthosting.co.za>
In-reply-to
Content
I agree, longs should be correctly rounded when coerced to floats.

There is an ugly (but amusing) workaround while people wait for this 
patch:  Go via a string:

int(float(repr(295147905179352891391)[:-1]))

Though I assume this relies on the platform's strtod working correctly.  
Which it does for me.
History
Date User Action Args
2008-08-26 21:10:33drjsetrecipients: + drj, mark.dickinson
2008-08-26 21:10:33drjsetmessageid: <1219785033.05.0.251841272286.issue3166@psf.upfronthosting.co.za>
2008-08-26 21:10:32drjlinkissue3166 messages
2008-08-26 21:10:31drjcreate