[issue3008] Let bin() show floats
Terry J. Reedy
report at bugs.python.org
Tue Jun 3 23:56:17 CEST 2008
Terry J. Reedy <tjreedy at udel.edu> added the comment:
> AFAICT, there is no good use case for showing floats in in hex
It is my impression that hexadecimal is more common than binary, in the
numerical analysis community, for exact representation of floats.
"Hexadecimal floating-point representations are especially important
when values must be represented exactly, for reproducible results — for
instance, for testing “borderline cases” in algorithms."
Or course, without hex float literals or an equivalent function for
input, hex float output is not much use.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list