Re: Bizarre output.

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

 



Yes, I'm sorry if this was confusing, it was the only method I had and
works well.

This is the same as an evaluation within a fuzzyEpsilon error period,
except that error period changes according to the precision of the
numbers being evaluated.

corey


On Wed, 30 Mar 2005 01:33:55 +0200, Antonio Coralles
<noche.suapie@xxxxxxxxx> wrote:
> Eljay Love-Jensen wrote:
> 
> > Hi Antonio,
> >
> >>What value of fuzzyEpsilon is appropriate for float / long double ? I
> > guess there is somkind of mathematical law in calculating it's value
> > from sizeof(value_type) ... Or is 0.000001 just an educated guess ?
> >
> > The value for fuzzyEpsilon is dependent on the magnitude of the
> > numbers involved, not on whether it is a double or float.
> >
> > HTH,
> > --Eljay
> >
> 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 ?
> 
> By the way, something completely differnet: What means HTH ?
> antonio
>

[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