\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.1 - Number Types
mpq_class Class Reference

#include <CGAL/gmpxx.h>

Definition

The class mpq_class is an exact multiprecision rational number type, provided by Gmp.

CGAL provides the necessary functions to make it compliant to the number type concept.

Is Model Of:

Field

RealEmbeddable

Fraction

See the Gmp documentation for additional details.