Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Erlang likewise:

1> 0.1 + 0.3.

0.4



Nope, Erlang's floats are still IEEE754 floats:

    1> 1.0e21 + 1 == 1.0e21.
    true


Right. It has arbitrary-precision ints, but lossy floats.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: