CGAL 4.7 - Number Types: Number Types Reference

\( \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.7 - Number Types

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Modules | Macros
Number Types Reference

##

Michael Hemmer, Susan Hert, Sylvain Pion, and Stefan Schirra
This package provides number type concepts as well as number type classes and wrapper classes for third party number type libraries.

Introduced in: CGAL 1.0
BibTeX: cgal:hhkps-nt-15b
License: LGPL

## Classified Reference Pages

## Number Type Classes and Concepts

- `int`
- `short int`
- `long int`
- `long long int`
- `float`
- `double`
- `long double`

### CORE

- `CORE::BigInt`
- `CORE::BigRat`
- `CORE::BigFloat`
- `CORE::Expr`

### LEDA

- `leda_integer`
- `leda_rational`
- `leda_bigfloat`
- `leda_real`

### GMP

- `mpz_class`
- `mpq_class`
- `CGAL::Mpzf`
- `CGAL::Gmpz`
- `CGAL::Gmpq`
- `CGAL::Gmpzf`
- `CGAL::Gmpfr`
- `CGAL::Gmpfi`

### CGAL

- `CGAL::MP_Float`
- `CGAL::Interval_nt<Protected>`
- `CGAL::Lazy_exact_nt<NT>`
- `CGAL::Quotient<NT>`
- `CGAL::Number_type_checker<NT1,NT2,Comparator>`
- `CGAL::Exact_integer`
- `CGAL::Exact_rational`

## Relates Rational

- `CGAL::Rational_traits<NT>`
- `CGAL::simplest_rational_in_interval()`
- `CGAL::to_rational()`

## Relates Algebraic Extensions

- `RootOf_2`
- `CGAL::Root_of_traits<RT>`
- `CGAL::make_root_of_2<RT>`
- `CGAL::make_sqrt<RT>`
- `CGAL::compute_roots_of_2<RT,OutputIterator>`
- `CGAL::Sqrt_extension<NT,ROOT>`

## Utilities

- `CGAL::Min<T,Less>`
- `CGAL::Max<T,Less>`
- `CGAL::Is_valid<T>`
- `CGAL::min()`
- `CGAL::max()`
- `CGAL::is_valid()`
- `CGAL::Set_ieee_double_precision`
- `CGAL::Protect_FPU_rounding<Protected>`

## Modules

| Concepts
| Built-in types
| CORE
| LEDA
| GMP
| CGAL Number Types
| Relates Rational
| Relates Algebraic Extensions
| Utilities

## Macros

#define | CGAL_PI 3.14159265358979323846
| an approximation of \( \pi \)