Optimisation prevents overflow?
Davide Mancusi
arekfu@yahoo.it
Fri Jul 20 09:51:00 GMT 2007
Janne Blomqvist wrote:
>> Would you say that "foo" is not portable?
>
> Yes. If you need more precision or range than what real(8) provides
> you have to use a type with more precision and/or range rather than
> relying on the compiler to keep the variable in the 80-bit x87
> register stack.
But how do I identify those parts of the code that are relying on extra
precision? As you said, in principle all the code is doing it.
Davide
More information about the Fortran
mailing list