[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Puzzling behaviour of `isnan' with -ffast-math

From: Bernd Strieder
Subject: Re: Puzzling behaviour of `isnan' with -ffast-math
Date: Thu, 03 Jul 2008 15:18:38 +0200
User-agent: KNode/0.10.4


Lionel B wrote:

> Is this just because all bets are off with -ffast-math (i.e. undefined
> behaviour) or is there a problem here?

See the docs (info pages):

     Allow optimizations for floating-point arithmetic that assume that
     arguments and results are not NaNs or +-Infs.

     Sets `-fno-math-errno', `-funsafe-math-optimizations',
     `-ffinite-math-only', `-fno-rounding-math', `-fno-signaling-nans'
     and `-fcx-limited-range'.

Bernd Strieder

reply via email to

[Prev in Thread] Current Thread [Next in Thread]