Nim doesn't "fail", Nim uses machine native floats by default (double precision 
to be exact) and your your CPU conforms to the IEEE 754 spec for floats. 
Therefore, this result is expected.

> What Every Computer Scientist Should Know About Floating-Point Arithmetic : 
> <https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html>

Reply via email to