Approximate equality: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 8:
about the 8th place to the right of the decimal point in base 10 arithmetic.
 
Create a function, which returns true if two floating
point numbers are approximately equal. The function should allow for
differences in the magnitude of numbers, so that, for example,
4,105

edits