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.



 

>
> Thanks!
>

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

Reply via email to