| Ilya Zakharevich on Mon, 25 Dec 2023 07:28:11 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Finding bitprecision |
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!