Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Set global precision for reals?

Hello,

If this makes any difference, I am using the Sage Notebook.

I want to reuse a large piece of code. However, when I wrote it, the default precision seemed sufficient to me, and now I am encountering truncation errors. Can I specify a global precision at the beginning of the worksheet? My variable declarations are all like a,b=var('a,b').

Thanks!