Optimisation prevents overflow?
Davide Mancusi
arekfu@yahoo.it
Fri Jul 20 10:19:00 GMT 2007
Janne Blomqvist wrote:
>> As you said, in principle all the code is doing it.
>
> I said nothing of the sort.
I meant that the presence of extra precision affects all floating-point
instructions. I was referring to (in your other mail):
> Depending on your definition of inconsistent, almost anything that has
> to do with floating point might lead to inconsistent behaviour between
> different hardware, compilers, optimization levels and whatnot. ;-)
Thanks for the tip. Now I have something to do for the weekend: trapping
overflows... ;-)
Davide
More information about the Fortran
mailing list