Y
Hacker News
new
|
ask
|
show
|
jobs
by
Stupulous
1895 days ago
I think you run into the opposite issue, where equality is too likely and nonequal values return as equal. There might be a sweet spot with something like
(0.1 + 0.2 - 0.2) / 0.1 ==[+/- .001] 1.0 => True