[sage-support] Re: n(xxx) - bits or digits of precision?!

2016-03-12 Thread Volker Braun
Default is bits, the digits= keyword argument its for decimal digits instead. Signature: pi.n(self, prec=None, digits=None, algorithm=None): Docstring: Return a numerical approximation this symbolic expression as either a real or complex number with at least the requested number of bits

[sage-support] Re: n(xxx) - bits or digits of precision?!

2016-03-12 Thread Dima Pasechnik
On Saturday, March 12, 2016 at 7:47:46 PM UTC, Volker Braun wrote: > > Whats ambiguous? > > (decimal) digits or bits? a part of my confusion comes from a puzzling (OSX-specific) error on #1. A Mathematica object has .n() and .N(), and they are not synonyms. (n() is Sage's method, N() is

[sage-support] Re: n(xxx) - bits or digits of precision?!

2016-03-12 Thread Volker Braun
Whats ambiguous? The call signature is missing, thats a bug. Ideally it would be documented in an INPUT block. On Saturday, March 12, 2016 at 7:26:50 PM UTC+1, Dima Pasechnik wrote: > > sage: pi.n? > Docstring: >Return a numerical approximation this symbolic expression as either >a