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 pgimeno
Recipients pgimeno
Date 2021-08-19.11:34:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>>> float.fromhex('0x0.8p-1074')
>>> float.fromhex('0x.8p-1074')

One of them is obviously wrong. It's the second one, because:
- The smallest denormal is 0x1p-1074
- Therefore, 0x0.8p-1074 is a tie for rounding purposes.
- The digit in the last place is even because the number is zero, and there is a tie, which implies rounding down.
Date User Action Args
2021-08-19 11:34:02pgimenosetrecipients: + pgimeno
2021-08-19 11:34:02pgimenosetmessageid: <>
2021-08-19 11:34:02pgimenolinkissue44954 messages
2021-08-19 11:34:02pgimenocreate