Talk:Approximate equality: Difference between revisions

m
no edit summary
(→‎Can of worms: added a comment.)
mNo edit summary
Line 8:
 
:: I've just done the update to the task's preamble (as far as numbers instead of bullets).   However, some programming language entries have added some of their (or other's) pairs of numbers to be compared, so their   ''outputs''   don't match the examples given in the task's preamble.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 01:41, 3 September 2019 (UTC)
 
The desired task use case is to have a method that allows tests on floating point calculations to be tested against a non-integer decimal constant, to verify correctness of the calculation, even when code changes change the floating point result in its non-significant portion.<br /><br /> Beyond that, the "can of worms" probably surrounds a) whether there should be an absulute difference that matters, versus just a relative difference, and b) whether 0.0 is different from all other floating point, because only 1/0.0 is NaN. Those "wormy" issues should not matter here.--[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 02:25, 3 September 2019 (UTC)
4,102

edits