Re: libpari precision handling changes
Bill Allombert <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <ZXzWdHrFDrlH6mP2@seventeen> |
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. > > This is a major backwards-incompatible change. Should not it better > be handled by introducing new names for macros and functions? It has been documented since 2013 than one should not assume that realprec==lg. Anyway, I am available to fix any code that is affected. It is just a matter of using realprec, prec2nbits and nbits2prec properly. Cheers, Bill