Hi Neil, Julie does math the same way that all computers do math. You're probably coming from another language where a lot of effort is invested into pretending that computers offer a closer approximation to abstract mathematics than they actually do. Those systems have been lying to you.
Put another way: you just took the red pill by using Julia. -- John On Nov 4, 2014, at 11:06 AM, Neil Devadasan <[email protected]> wrote: > julia> f(x::Float64, y::Float64) = 2x + y; > > julia> f(10.97,23.9985) > 45.938500000000005 > > The above method execution of function f returns an answer that I cannot > understand. Can someone clarify? > > Thank you.
