On Friday, March 28, 2014 10:34:55 AM UTC+1, Ralf Stephan wrote:
>
> I would like to understand Sage behaviour better. I just found out that 
> Sage is different from Pari when it comes to user input of values:
>
> sage: Ei(1.1).n(100)
> 2.1673782795634028985887198360
> sage: Ei(11/10).n(100)
> 2.1673782795634028235837873423
>
> while in Pari:
> ? sin(1.1)
> %1 = 0.89120736006143533995180257787170353832
> ? sin(11/10)
> %2 = 0.89120736006143533995180257787170353832
>
> What could be the reason to interpret the user input "1.1" as "real with 
> precision of 53 bits" instead of "short way of specfying 11/10"? 
> Programming convenience? If you say well then the user should say 11/10 if 
> she means it, this could be said as well with RealField(1.1), so what is 
> the reason for this convention?
>
> Regards,
>

-- 
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