Hacker News new | ask | show | jobs
by bloaf 3174 days ago
Mult(A,B) = Exp(Log(A) + Log(B))
1 comments

You didn't pass (overqualified, will likely be bored by the job).
More like: bad culture fit, expects a standard library that handles infinite quantities and complex numbers out of the box.

Edit: how about

(Math.Pow(a+b, 2) - Math.Pow(a,2) - Math.Pow(b,2))/2