On Friday, September 6, 2013 12:52:44 PM UTC+4, Christophe Bal wrote: > > It sounds like weird becaus when I type 1/2+3/7, sympy returns 13/14. > This means that sympy knows to workd with exact fractions, I know that > about sympy, but in asin(1/2), 1/2 is seen as a float. Stange ! Isn-t it ? > > 1/2 is not an exact fraction. Rational(1, 2) is.
Please, take look on the documentation, especially this chapter: http://docs.sympy.org/0.7.3/gotchas.html#python-numbers-vs-sympy-numbers -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
