Re: comparing doubles for equality



Richard Weeks wrote:

#define MAXRELDIFF .000000000001

Google for "epsilon", in context; that's the (arbitrary) math term for the
tolerance amount.

And consider recasting the higher-level code to always compare with < and >.

--
Phlip
http://flea.sourceforge.net/PiglegToo_1.html


.