RFC: Reorganization of gfortran.texi

Jerry DeLisle jvdelisle@verizon.net
Thu Nov 30 19:53:00 GMT 2006


Tim Prince wrote:
> Brooks Moses wrote:
> 
>>
>> What, precisely, should the warning say?  Something along the lines of 
>> this?:  "Enables code optimizations which occasionally produce 
>> incorrect answers to mathematical operations, but will produce them 
>> faster than reliably correct answers can be generated.  This option 
>> should be avoided unless the compiled program can be thoroughly tested 
>> for correctness.  Operations on complex numbers with -ffast-math are 
>> particularly likely to obtain incorrect results."
>>
> The comment about complex should be more precise, such as "complex 
> number expressions under -ffast-math are not protected against 
> intermediate overflow, thus reducing the range of values for which 
> correct results may be expected."
> 
Thanks Tim!



More information about the Fortran mailing list