Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

-ffpe-trap=precision,denormal in gfortran

Status
Not open for further replies.

GerritGroot

Technical User
Nov 3, 2006
291
ES
Hi,

Does anyone know what the option

-ffpe-trap=precision

does in gfortran

If I read 4 real values given in a text file like "1. 2. 3. 4."
and compile with the option -ffpe-trap=precision, the program breaks down, supposedly because it's losing precision, but ehhh..., losing precision when reading values in is a bit weird, isn't it?

Does someone know what causes this strange behaviour?

Thanks,

Gerrit

P.S.: I also would like to know what the option, "denormal" does in ffpe-trap, I couldn't find any useful info on that one either in my gcc pdf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top