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 belopolsky
Recipients belopolsky, pitrou, rhettinger
Date 2008-05-30.18:53:37
SpamBayes Score 0.019772826
Marked as misclassified No
Message-id <1212173619.94.0.158501348078.issue3008@psf.upfronthosting.co.za>
In-reply-to
Content
Another problem with bin() on floats is that it will be a one-way street
because as far as I know, there is no function to convert a binary
string back to a float.

My last thought on this issue is that it will be helpful to add
tobase(f, n) and frombase(s,n) functions to math module (and I withdraw
my suggestion of using %g-like notation due to the conflict between E
for exponent and E for 0xE).  On the other hand, there is no need to
mess up with builtin bin/oct/hex because with math.tobase float-capable
extensions will be trivially implementable.
History
Date User Action Args
2008-05-30 18:53:40belopolskysetspambayes_score: 0.0197728 -> 0.019772826
recipients: + belopolsky, rhettinger, pitrou
2008-05-30 18:53:40belopolskysetspambayes_score: 0.0197728 -> 0.0197728
messageid: <1212173619.94.0.158501348078.issue3008@psf.upfronthosting.co.za>
2008-05-30 18:53:38belopolskylinkissue3008 messages
2008-05-30 18:53:38belopolskycreate