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 serhiy.storchaka
Recipients anon, hct, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2013-12-08.22:15:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458383.zzRE6dW8Xc@raxxla>
In-reply-to <1386421680.88.0.190962819182.issue19915@psf.upfronthosting.co.za>
Content
> Extracting sign, exponent and significand fields from the binary
> representation of a float is at least one thing I'd use this for.

You don't need special function for bit operations. Float values are short (32 
or 64 bits) and any bit operations are O(1). Special function for bit 
extracting (or modifying) is needed when you process many hundreds or 
thousands of bits. In any case >> and & for 64-bit values are faster than 
method call.
History
Date User Action Args
2013-12-08 22:15:46serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, vstinner, hct, anon
2013-12-08 22:15:46serhiy.storchakalinkissue19915 messages
2013-12-08 22:15:46serhiy.storchakacreate