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 mark.dickinson
Recipients mark.dickinson, serhiy.storchaka, tim.peters
Date 2018-03-02.17:45:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520012716.83.0.467229070634.issue32978@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2018-03-02 17:45:16mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, serhiy.storchaka
2018-03-02 17:45:16mark.dickinsonsetmessageid: <1520012716.83.0.467229070634.issue32978@psf.upfronthosting.co.za>
2018-03-02 17:45:16mark.dickinsonlinkissue32978 messages
2018-03-02 17:45:16mark.dickinsoncreate