Hacker News new | ask | show | jobs
by bjourne 1934 days ago
No, if x = -0.0 then x+0 = 0.0 and x*0 = -0.0. This violates fundamental tenets of arithmetic, surprises most, and makes many compiler optimizations impossible.