Jason Orendorff wrote:
On 1/18/06, Donovan Baarda abo@minkirri.apana.org.au wrote:
I think supporting arbitrary bases for floats is way overkill and not worth considering.
If you mean actual base-3 floating-point arithmetic, I agree. That's outlandish.
But if there were a stdlib function to format floats losslessly in hex or binary, Tim Peters would use it at least once every six weeks to illustrate the finer points of floating point arithmetic. <0.00390625 wink>
+1.0
Nah, Tim's got the chops to use the struct model to get his point across.
regards Steve