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,

>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


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