Just experimenting with Sage syntax I found something strange:

sage: n(pi)
3.14159265358979
sage: n(pi,20)
3.1416
sage: n(pi,29)
3.1415927
sage: n(pi,59)
3.1415926535897932
sage: n(pi,0x59)
3.1415926535897932384626434
sage: pi.n(digits=17)
3.1415926535897932
sage:

Is there any explanation?

Regards BB

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to