On Friday, 13 November 2015 11:43:42 UTC, Anthony Wickstead wrote: > > I have just discovered that in Sage 6.7 abs(-pi)=-pi, > abs(-sqrt(2))=-sqrt(2) etc. Previous version I used was 6.2 and I am fairly > sure it was not the case then. Can't find earlier reference to this bug. >
6.7 is old. Try 6.9. E.g I see that in (forthcoming) 6.10 it should be OK: sage: version() 'SageMath Version 6.10.beta3, Release Date: 2015-11-05' sage: abs(-sqrt(2)) sqrt(2) sage: abs(-pi) pi -- 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.
