mpn_zero_p [Was: fast inversion]

bodrato at bodrato at
Tue Jun 23 20:58:18 UTC 2015


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 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)


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



More information about the gmp-devel mailing list