On Monday, July 6, 2015 at 8:15:54 PM UTC+2, Dima Pasechnik wrote:
>
> On Monday, 6 July 2015 18:05:18 UTC+1, Maurizio Parton wrote:
>>
>> On cloud.sagemath.com, on a brand new notebook, if I evaluate
>>
>> abs(-2^(1/2))
>>
>> the result is
>>
>> -sqrt(2)
>>
>> Expected result: sqrt(2) or abs(-sqrt(2))
>>
>> In my local installation (SageMath Version 6.6, Release Date: 2015-04-14, 
>> Ubuntu 15.04) it works fine. Any idea where could be the problem?
>>
>
> this is a bug...
> Note that -sqrt(2) is a symbolic expression, and taking its abs somehow 
> fails on recent Sage versions; 
> e.g on the latest 6.8.beta.
>

Fixed in Pynac-0.4.1, backport in Pynac-0.3.9.1 (it was there in 0.3.8
actually already but review is lagging) 

http://trac.sagemath.org/ticket/18537

Regards,

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to