There's a website which is there just to answer exactly that question : http://floating-point-gui.de/
On Thursday, September 3, 2015 at 9:45:18 AM UTC+2, Michael Borregaard wrote: > > Hi, > in the Julia documentation, I fell over this strange behaviour: > > julia> 1.1 + 0.1 > 1.2000000000000002 > > I understand that this may make sense in the context of how floating > numbers are implemented inside Julia - but I cannot think of a single > situation in which the user would want this behaviour. > Can someone explain what is going on, and why this is not a bug? > > Thanks, > Michael >
