Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kBool kMath_NearlyEquals64f ( k64f  a,
k64f  b 
)

Reports whether two double-precision values are approximately equal.

There is no simple, general-purpose solution for comparing two floating-point numbers for approximate equality. This method implements a simple approach that will not work for all cases. Use with caution.

Parameters
aFirst value.
bSecond value.
Returns
kTRUE if approximately equal.