Ilya Zakharevich on Tue, 19 Dec 2023 07:21:00 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Finding bitprecision |
Should not there be O(1) way to find the current localbitprecision()? (22:17) gp > localprec(10000); my(s); for(n=1,100000, s+=bitprecision(1.)); time = 78 ms. (22:17) gp > localprec(1000000); my(s); for(n=1,100000, s+=bitprecision(1.)); time = 2,121 ms. Thanks, Ilya