Dear Sympy developers,

This is not a serious issue, but I wanted to flag it. According to the documentation (and IMO correctly):

acos(x) = asec(1/x)

So I was surprised to see the contrast between:

>>> acos(Rational(1,2))
pi/3

>>> asec(Rational(2,1))
asec(2)

I would expect the previous line to return pi/3. Here is another example of this:

>>> acos(sqrt(2)/2)
pi/4

>>> asec(2/sqrt(2))
asec(sqrt(2))

I would expect the previous line to return pi/4.

Cheers,
   Bruce


--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/373c727c-2e33-0704-e932-4fac92fc231a%40googlemail.com.

Reply via email to