[erlang-questions] Any way to correct the round off errors?

Richard Kelsall r.kelsall@REDACTED
Sun Sep 20 18:27:12 CEST 2009


Witold Baryluk wrote:
> Maybe i written not clearly. I was thinking more about such situation:
> 
>> 0.111111111111 - 0.111111111113.
> -1.9999973899231804e-12
> -0.000000000001999997389923180435
> 
> It have only one correct significant decimal digit.
> 

You are quite right. I hadn't thought of that one.


Richard.


More information about the erlang-questions mailing list