Re: Finding bitprecision
Ilya Zakharevich <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Dec 19, 2023 at 10:50:26AM +0100, Bill Allombert wrote:
> > Should not there be O(1) way to find the current localbitprecision()?
> Yes, it is called getlocalbitprec().
As you could see from this mail thread, this name is not discoverable.¹⁾
Very few things in PARI need to be done using get*() functions!
¹⁾ This makes it similar to lngamma().
Why not do it like the other getters/setters, and make localbitprec()
return the current value?
Thanks,
Ilya
P.S. Happy holidays to everybody!