This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fourth Draft "Unsafe fp optimizations" project description.


<<doing something like if (blah_justcomputed == thevalue) could result into a lot
of wasted time.
>>

Misusing any feature can result in a lot of wasted time.

If you are talking about a beginner who thinks that floating-point arithmetic
is real arithmetic, then you had better give warnings like

"warning: this operation is floating-point not real aritmetic"

for every fpt operation :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]