I know this is the subject of many prior threads, but, I'm having
trouble comparing floatinp point numbers. Values in registers and
values in memory are not exactly equal, even though they were calculated
identically.
I was wondering if there is a library of functions to compare floating
point numbers, equal, less than, greater than, positive numbers and
negative numbers.
So far I only have one that I have confidence in.
x=y is Abs(x-y)<EPSILON.
Any leads would be appreciated.
*** Sent via Developersdex http://www.developersdex.com ***
Bookmarks