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

Valentin Micic valentin@REDACTED
Sun Oct 26 13:50:40 CET 2014


How did we manage to survive as spices for this long?

V/

On 26 Oct 2014, at 2:33 PM, Jesper Louis Andersen wrote:

> 
> 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.
> 
> Hi!
> 
> 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.
> 
> 
> -- 
> J.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

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


More information about the erlang-questions mailing list