Re: Bizarre output.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux