Need help!

Tim Prince n8tm@aol.comnojunk
Tue Nov 30 23:27:00 GMT 1999


>to enforce
>usage of "real" double even using temp variable, you may try volatile
>or gcc -O0.
>(note i may be wrong)

While older versions of gcc usually had -O0 implying -ffloat-store, the latter
is more likely to accomplish this in recent versions.

>sizeof(long double) gives 12

but 2 of the bytes are left vacant, for convenience of alignment, so they do
nothing for precision or range.  The values in <float.h> are more likely to
express the precision available.
Tim Prince
tprince@computer.org


More information about the Gcc-help mailing list