Bill Allombert on Mon, 18 Dec 2023 00:14:29 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: libpari precision handling changes


On Thu, Dec 14, 2023 at 05:48:57PM -0800, Ilya Zakharevich wrote:
> On Sun, Dec 03, 2023 at 09:52:55PM +0100, Bill Allombert wrote:
> > Dear PARI developers,
> > 
> > I committed a change to the way the precision is manipulated in the 
> > C library.
> > 
> > Now the precision is a multiple of BITS_IN_LONG.
> 
> Is not there the code 'b' for this?  Why not use it?!

It is not the same. 'b' allows any number of bits, while 'p' allows only multiple of
BITS_IN_LONG. This is necessary until we allows t_REAL with precision in bits.

Cheers,
Bill