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 belopolsky
Recipients aconrad, belopolsky, larry, mark.dickinson, r.david.murray, tbarbugli, tim.peters, trcarden, vivanov, vstinner
Date 2015-08-28.22:28:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440800928.46.0.564709796348.issue23517@psf.upfronthosting.co.za>
In-reply-to
Content
OK, I looked at the wrong place.  Here is the correct example:

>>> x = float.fromhex('0x1.38f312b1b36bdp-1')
>>> x
0.6112295
>>> round(x, 6)
0.611229
>>> timedelta(0, x).microseconds
611230

but I no longer remember whether we concluded that timedelta got it wrong or round or both or neither. :-)
History
Date User Action Args
2015-08-28 22:28:48belopolskysetrecipients: + belopolsky, tim.peters, mark.dickinson, vstinner, larry, r.david.murray, aconrad, vivanov, tbarbugli, trcarden
2015-08-28 22:28:48belopolskysetmessageid: <1440800928.46.0.564709796348.issue23517@psf.upfronthosting.co.za>
2015-08-28 22:28:48belopolskylinkissue23517 messages
2015-08-28 22:28:48belopolskycreate