I think lisp solves this problem by using integers for its floats , or
something along those line, I remember reading about it somewhere when I
was studying common lisp 5 years ago

Or maybe my memory fails me

On Sun, Oct 23, 2016 at 7:24 PM Thierry Goubier <thierry.goub...@gmail.com>
wrote:

> I think that's called 'welcome to the wonderfull world of floating points
> approximations' and not a bug :(
>
> See unums/Gustafson for something more interesting on the subject.
>
> Thierry
>
>
> 2016-10-23 18:16 GMT+02:00 stepharo <steph...@free.fr>:
>
> Hi
>
> I'm wondering if we do not have a bug here
>
> 12.222222222222221 roundTo: 0.1
>  "12.200000000000001"
>
> 12.222222222222221 roundTo: 0.01
>  "12.22"
>
>
> Stef
>
>
>
>

Reply via email to