CGAL::Gmpz

Definition

An object of the class Gmpz is an arbitrary precision integer based on the GNU Multiple Precision Arithmetic Library.

#include <CGAL/Gmpz.h>

Is Model for the Concepts

EuclideanRingNumberType

Creation

Gmpz q;
creates an uninitialized multiple precision integer q.


Gmpz q ( int i);
creates a multiple-precision integer initialized with i.


Gmpz q ( double d);
creates a multiple-precision integer initialized with the integral part of d.

Implementation

Gmpzs are reference counted.