[issue32978] Issues with reading large float values in AIFC files
Mark Dickinson
report at bugs.python.org
Fri Mar 2 12:45:16 EST 2018
Mark Dickinson <dickinsm at gmail.com> added the comment:
> But I don't know the exact format for infinities and NaNs.
>From the Intel software developer manuals:
For infinities:
Sign bit: 0 or 1 (positive or negative infinity)
Exponent field (15 bits): all ones
Significand (64 bits): first bit 1, all remaining bits 0.
NaN:
Sign bit: 0 or 1
Exponent field (15 bits): all ones
Significand (64 bits): first bit 1, at least one of the remaining bits 1.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32978>
_______________________________________
More information about the Python-bugs-list
mailing list