Message205460
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. |
|
Date |
User |
Action |
Args |
2013-12-07 15:16:28 | anon | set | recipients:
+ anon, tim.peters, rhettinger, mark.dickinson, vstinner, serhiy.storchaka, hct |
2013-12-07 15:16:28 | anon | set | messageid: <1386429388.72.0.0977184205712.issue19915@psf.upfronthosting.co.za> |
2013-12-07 15:16:28 | anon | link | issue19915 messages |
2013-12-07 15:16:28 | anon | create | |
|