What happens if FLT_EVAL_METHOD is 2?
I ignored that possiblity because the OP said "pre-C99" (though he
might be using a C99 compiler anyway), and because I've never looked
at that stuff in detail.
If I understand correctly, it would be evaluated as a long double
(which may of course be the same as double, though I don't see why an
implementation would set it to 2 in that case).
In any case it would be ocnverted to a double for the printf(), so
the inconsistent values he sees must be float and double versions.
-- Richard[/QUOTE]
Hi everyone,
Thansk for all the info. i've found the C# type called:
System.Single to be very useful. I'm getting more accurate, consistent
results now. not perfect but a lot better. Thansk for all the info,
its been an education.
Merci,
Al.