2 ms·
Oh, but one generally wants an "acceptable difference" only when the numbers compared are close enough to zero, otherwise the "acceptable relative difference" s
by Joker_vD 4y ago
Oh, but one generally wants an "acceptable difference" only when the numbers compared are close enough to zero, otherwise the "acceptable relative difference" should be used instead, right?
- ajuc 4y agoYes, it's more complicated than that, but at least "straightforward" code with x==y won't compile so you'll have to think about it.