CGAL 6.1 - Number Types

Loading...
Searching...
No Matches
Classes | Typedefs
CGAL Number Types
Reference Manual

##

## Classes
class | CGAL::Interval_nt< Protected >
| The class `Interval_nt` provides an interval arithmetic number type. More...
class | CGAL::Lazy_exact_nt< NT >
| An object of the class `Lazy_exact_nt<NT>` is able to represent any real embeddable number which `NT` is able to represent. More...
class | CGAL::MP_Float
| An object of the class `MP_Float` is able to represent a floating point value with arbitrary precision. More...
class | CGAL::Number_type_checker< NT1, NT2, Comparator >
| `Number_type_checker` is a number type whose instances store two numbers of types `NT1` and `NT2`. More...
class | CGAL::Quotient< NT >
| An object of the class `Quotient<NT>` is an element of the field of quotients of the integral domain type `NT`. More...

## Typedefs
typedef Interval_nt< false > | CGAL::Interval_nt_advanced
| This typedef (at namespace CGAL scope) exists for backward compatibility, as well as removing the need to remember the Boolean value for the template parameter.
typedef unspecified_type | CGAL::Exact_integer
| `Exact_integer` is an exact integer number type.
typedef unspecified_type | CGAL::Exact_rational
| `Exact_rational` is an exact rational number type, constructible from `double`.

## Typedef Documentation

## ◆ Exact_integer

typedef unspecified_type CGAL::Exact_integer

`#include <CGAL/Exact_integer.h>`

`Exact_integer` is an exact integer number type.

It is a typedef of another number type. Its exact definition depends on the availability the third-party libraries GMP and LEDA.

Is model of
  `EuclideanRing`
  `RealEmbeddable`

## ◆ Exact_rational

typedef unspecified_type CGAL::Exact_rational

`#include <CGAL/Exact_rational.h>`

`Exact_rational` is an exact rational number type, constructible from `double`.

It is a typedef of another number type. Its exact definition depends on the availability the third-party libraries GMP and LEDA.

Is model of
  `Field`
  `RealEmbeddable`
  `Fraction`
  `FromDoubleConstructible`