mpn_zero_p [Was: fast inversion]

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
Tue Jun 23 20:58:18 UTC 2015


Ciao,

Il Lun, 18 Maggio 2015 11:33 am, paul zimmermann ha scritto:

> I don't see mpn_zero_p in the API of the current stable version 6.0.0
> (according to gmplib.org). In which version will it be available?

It will be available from the next release.
As the manual says about low-level functions: "No size argument may be zero".

The previous internal function did support zero size, if you was using it
and still need that support, you shall substitute

mpn_zero_p (sp, sn)

with

(sn == 0 || mpn_zero_p (sp, sn))


Regards,
m

-- 
http://bodrato.it/papers/



More information about the gmp-devel mailing list