Skip to content
RED SAGSkills
hard20 pts · first answer countsmathfloating-point

A fixed epsilon on large numbers

Code treats two doubles as equal if Math.abs(a - b) < 1e-9. Why does this fail for values around 1e12?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions