[issue45702] Python/dtoa.c requires 53 bit hardware rounding unavalable on x64

Oleg Iarygin report at bugs.python.org
Wed Nov 3 11:15:05 EDT 2021


Oleg Iarygin <oleg at arhadthedev.net> added the comment:

When I first saw "default rounding precision of 64 bits", I've thought it's about "64 bit precision", aka binary64, aka double. So I suggested that the code expects some hardly known Intel FPU-specific binary56 instead. Now, after a second paragraph of your reply I see that in reality it's about significand precision (so rounding precision of 64 bits is for binary80, and 53 is for binary64).

> at 53-bit precision (not 56-bit)

You're right. That was a typo.

Thank you for clarification, I'm closing the issue as not-a-bug.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45702>
_______________________________________


More information about the Python-bugs-list mailing list