3 ms·
How do you determine the fudge factor? Eg if you compare (x + 1.2) + (x + 2.3) < (2*x + 3.6) that goes wrong for big enough x.
by eru 5y ago
How do you determine the fudge factor?
Eg if you compare (x + 1.2) + (x + 2.3) < (2*x + 3.6) that goes wrong for big enough x.
- wheelerof4te 5y agoUse the round function in that case.
- eru 5y agoHow is that going to help? What precision do you want to round to? You know that at big enough values, floating point numbers are farther apart than integers?