Message205613
> 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. |
|
Date |
User |
Action |
Args |
2013-12-08 22:15:46 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, vstinner, hct, anon |
2013-12-08 22:15:46 | serhiy.storchaka | link | issue19915 messages |
2013-12-08 22:15:46 | serhiy.storchaka | create | |
|