Hi Antonio, >Hmm, maybe i understood something wrong, but didn't corey mean that his function double eps(double a, double b) calculates a magnitude based epsilon from fuzzyEpsilon and a ? The definition of "close enough" can vary by the problem being considered. As such, there are several strategies (algorithms) one can employ to determine if a float or double is "close enough" to a given value. My usual suggestion is "Use integers unless you can't." >By the way, something completely differnet: What means HTH ? HTH - hope that helps --Eljay