Indeed I've used Sympy Live. Le 6 sept. 2013 23:27, "Ondřej Čertík" <[email protected]> a écrit :
> On Fri, Sep 6, 2013 at 3:19 PM, Christophe Bal <[email protected]> > wrote: > > The fact that I''ve focused in my first message is that in asin(1/2) > the > > argument 1/2 is a float whereas in 1/2 + 7/3 it is seen has a > fraction. > > I don't understand --- for me 1/2 + 7/3 is a float as well: > > In [1]: 1/2 + 7/3 > Out[1]: 2.83333333333 > > Can you provide the full code? > > Ondrej > > > > > That shows a weakness of asin regarding to the addition. Don't you > think > > the same ? > > > > Le 6 sept. 2013 18:26, "Sergey B Kirpichev" <[email protected]> a > écrit : > > > >> On Fri, Sep 06, 2013 at 05:28:05PM +0200, Joachim Durchholz wrote: > >> > >1/2 is not an exact fraction. > >> > > >> > 0.5f does happen to be the exact fraction for 1/2. > >> > >> Yes. 1/2 = 0.5f (in python 2 we use "from __future__ import > >> division"). And no, 0.5f is not an exact number, it's a float. > >> > >> -- > >> 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. > > > > -- > > 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. > > -- > 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. > -- 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.
