Explosion of noise from -Wall

Toon Moene toon@moene.org
Wed Aug 22 17:55:00 GMT 2012


On 08/22/2012 12:05 PM, N.M. Maclaren wrote:

>>On the other hand, if -Wcompare-real is in -Wextra, one could
>> also leave in the zero-comparison warnings.
>
> That's a good point. Unfortunately, IEEE 754 has muddied the waters by
> introducing denormalised numbers, but that hasn't stopped zero being a
> well-defined value in a lot of codes.

Not in the least because dividing by zero is a "well defined error".

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news



More information about the Fortran mailing list