This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bizarre output.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]