bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] fractional power ¯8⋆÷3


From: Xiao-Yong Jin
Subject: Re: [Bug-apl] fractional power ¯8⋆÷3
Date: Wed, 13 Apr 2016 13:36:01 -0500

Looks like a gcc optimization problem (clang works correctly).
Using ‘-Ofast’ with gcc 5.3 reproduces the bug.
Using ‘-O3’ works fine.

So one of the options down here caused the bug:
-fassociative-math
-fcx-limited-range
-ffinite-math-only
-fmath-errno
-freciprocal-math
-fsigned-zeros
-ftrapping-math
-funsafe-math-optimizations

I’ll see if I can pin down exactly which one.  Do you have any idea what could 
be the culprit?

- Xiao-Yong


> On Apr 13, 2016, at 1:01 PM, Juergen Sauermann <address@hidden> wrote:
> 
> Hi Xiao,
> 
> interesting. I am still getting this in *SVN**719*:
> 
> *      8 ¯8⋆÷3
> 2 1J1.732050808*
> 
> /// Jürgwn
> 
> 
> On 04/13/2016 03:42 AM, Xiao-Yong Jin wrote:
>> Hi,
>> 
>> With the svn version 719,
>> 
>>       8 ¯8⋆÷3
>> 2 0.000000000
>> 
>> but with the release version 1.5,
>> 
>>       8 ¯8⋆÷3
>> 2 1J1.732050808
>> 
>> Best,
>> Xiao-Yong
>> 
>> 
>> 
> 




reply via email to

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