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]

Re: Need help!


>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


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