[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] fractional power ¯8⋆÷3
From: |
Kacper Gutowski |
Subject: |
Re: [Bug-apl] fractional power ¯8⋆÷3 |
Date: |
Thu, 14 Apr 2016 02:03:06 +0200 |
On Thu, Apr 14, 2016 at 1:54 AM, Xiao-Yong Jin wrote:
> Exactly so. ‘-Ofast -fno-finite-math-only’ gives correct results.
> What’s going on here? I don’t expect this has anything to do with NaN or Inf.
pow(-8., 1./3) is nan.
And -ffinite-math-only eliminates isfinite check at FloatCell.cc:422.
-k