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

Mark Dickinson report at bugs.python.org
Wed Nov 3 10:34:20 EDT 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

I'm not sure I understand the problem that you're reporting - what issues are you seeing in practice?

x64 should be fine here. In normal circumstances, the compiled version of dtoa.c will be using SSE2 instructions and will already be doing floating-point arithmetic at 53-bit precision (not 56-bit), following IEEE 754. It's mainly the ancient x86/x87 hardware that's problematic. This code has been working well on many different x64 platforms for around a decade now.

Can you describe the issue that you're seeing in more detail?

----------

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


More information about the Python-bugs-list mailing list