pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Gmp
Gmp.mpz

Gmp.mpz()->invert()


Method invert

Gmp.mpz invert(int|float|Gmp.mpz x)

Description

Return the inverse of this mpz value modulo x . The returned value satisfies 0 <= result < x.

Throws

An error is thrown if no inverse exists.

Module reference for Pike v7.8 release 116, 2008-12-31