[erlang-questions] In Erlang , {1.1*1.1.} show me the answer is 1.2100000000000002, why?

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Sun Oct 26 13:33:54 CET 2014

On Sun, Oct 26, 2014 at 8:24 AM, 张栋 <zd2559@REDACTED> wrote:

> When I try some multiplication, I got the some unexpected answer about
> the following expression.


In addition to what everyone else has said, you may want to search the
archives. There is a couple of posts by Richard O. Keefe which explains
this in great detail. If my memory serves, he actually ends up arguing that
every language which does not write 1.2100000000000002 is lying to you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141026/18701544/attachment.htm>

More information about the erlang-questions mailing list