This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Signalling NaNs for floating point initialization?
- To: egcs at cygnus dot com
- Subject: Signalling NaNs for floating point initialization?
- From: Thomas Koenig <ig25 at mvmap66 dot ciw dot uni-karlsruhe dot de>
- Date: Thu, 17 Dec 1998 17:35:02 +0100 (MET)
- Reply-To: Thomas dot Koenig at ciw dot uni-karlsruhe dot de (Thomas König)
One of the most useful options on an SGI Fortran compiler I've worked
with some years ago was to set all floating point variables to
signalling NaNs upon startup of a program, which helped a lot in
converting old code and in finding quite a few bugs in new ones.
What do you think about implementing this in g77?
--
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.