CGAL 6.1.2 - Number Types

Loading...
Searching...
No Matches
Modules | Macros
Reference Manual

##

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-26a
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`

### Boost

- `boost::multiprecision::cpp_int`
- `boost::multiprecision::cpp_rational`
- `boost::multiprecision::gmp_int`
- `boost::multiprecision::gmp_rational`

### 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
| Boost
| LEDA
| GMP
| CGAL Number Types
| Relates Rational
| Relates Algebraic Extensions
| Utilities

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