This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Bizarre output.
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Antonio Coralles <noche dot suapie at reflex dot at>, gcc-help at gcc dot gnu dot org
- Date: Tue, 29 Mar 2005 17:22:58 -0600
- Subject: Re: Bizarre output.
- References: <fc.3b9aca006b2d42243b9aca0024422d6b.428315a@reflex.at><4249D2EA.4080500@reflex.at><fc.3b9aca00f5c969e73b9aca0024422d6b.428332a@reflex.at><4249E1DF.9090300@reflex.at>
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