float_to_list(X)

Scott Ribe scott_ribe@REDACTED
Wed May 5 18:37:44 CEST 2021


> On May 5, 2021, at 10:20 AM, 2QdxY4RzWzUUiLuE@REDACTED wrote:
> 
> In short, no.

Although many (most, actually nearly all) real numbers cannot be represented precisely as a float, any float can be round-tripped to text and back exactly. This is part of the IEEE floating point standard, actually. (And it's not easy...)




More information about the erlang-questions mailing list