CGAL 5.1 - Number Types
CGAL Number Types

Classes

class  CGAL::Interval_nt< Protected >
 
class  CGAL::Lazy_exact_nt< NT >
 
class  CGAL::MP_Float
 
class  CGAL::Number_type_checker< NT1, NT2, Comparator >
 
class  CGAL::Quotient< NT >
 

Typedefs

typedef Interval_nt< false > CGAL::Interval_nt_advanced
 
typedef unspecified_type CGAL::Exact_integer
 
typedef unspecified_type CGAL::Exact_rational
 

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, CORE, and LEDA. CGAL must be configured with at least one of those libraries.

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, CORE, and LEDA. CGAL must be configured with at least one of those libraries.

Is Model Of:

Field

RealEmbeddable

Fraction

FromDoubleConstructible

◆ Interval_nt_advanced

#include <CGAL/Interval_nt.h>

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.