Minor correction: fabs(x - y) < EPSILON to catch the case where y is greater than x.
...roboticusIn reply to Re^4: [Win32, C, and way OT] C floats, doubles, and their equivalence
by roboticus
in thread [Win32, C, and way OT] C floats, doubles, and their equivalence
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |