14.2.1.3 ZZ_class Objects

class ZZ_class
The ZZ class is used to represent signed, arbitrary length integers.

Routines are provided for all of the basic arithmetic operations, as well as for some more advanced operations such as primality testing. Space is automatically managed by the constructors and destructors.

This module also provides routines for generating small primes, and fast routines for performing modular arithmetic on single-precision numbers.

Instances of class ZZ_class also have the following special methods:

__add__,$  $ __mul__,$  $ __neg__,$  $ __pow__,$  $ __radd__,$  $ __repr__,$  $ __rmul__,$  $ __rpow__,$  $ __rsub__,$  $ __sub__

See About this document... for information on suggesting changes.