This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Fix folding of logb (-Inf) (PR tree-optimization/57066)


On Thu, Apr 25, 2013 at 03:37:35PM +0200, Marc Glisse wrote:
> If a function with one or more NaN arguments returns a NaN result,
> the result should be the same as one of the NaN arguments (after
> possible type conversion), except perhaps for the sign."
> 
> 
> "F.9.3.11 The logb functions
> â logb(Â0) returns ââ and raises the ââdivide-by-zeroââ
> floating-point exception.
> â logb(Ââ) returns â."

Perfect, I'm glad to hear that.  Thanks!

	Marek


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