[erlang-questions] pre-EEP: accurate float printing (replacement for io_lib_format:fwrite_g/1)
Tue Dec 11 10:10:48 CET 2007
"Bob Ippolito" <> writes:
> ~g with no precision specification (io_lib_format:fwrite_g/1) is a
> perfect target and it hits every use the shell has, ~f and ~e I don't
> care about. Having yet another float format would be completely stupid
> and confusing to anyone that doesn't know the back story for why
> supposed backward compatibility required the need for another format.
> Other languages have undergone this type of change with no ill effects
> that I've heard of (e.g. TCL did this in 2003 ).
I agree. If there are no compatibility problems *in practice*, we
should simply make the change.
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions