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 anon
Recipients anon, hct, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2013-12-07.15:16:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386429388.72.0.0977184205712.issue19915@psf.upfronthosting.co.za>
In-reply-to
Content
I didn't really consider floats. bit_length() is only provided to ints for example.

I think a better solution to pick apart floats would be a function similar to math.frexp, if it isn't already sufficient. float.bits_at(pos, width) seems a worse solution because the position of each bit would be arbitrary. But I have no major objection against it being extended to floats.
History
Date User Action Args
2013-12-07 15:16:28anonsetrecipients: + anon, tim.peters, rhettinger, mark.dickinson, vstinner, serhiy.storchaka, hct
2013-12-07 15:16:28anonsetmessageid: <1386429388.72.0.0977184205712.issue19915@psf.upfronthosting.co.za>
2013-12-07 15:16:28anonlinkissue19915 messages
2013-12-07 15:16:28anoncreate