CGAL 4.7 - Number Types: Utilities

\( \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
Classes | Functions
Utilities
Number Types Reference

##

## Classes

class | CGAL::Protect_FPU_rounding< Protected >
| The class `Protect_FPU_rounding` allows to reduce the number of rounding mode changes when evaluating sequences of interval arithmetic operations. More...
class | CGAL::Set_ieee_double_precision
| The class `Set_ieee_double_precision` provides a mechanism to set the correct 53 bits precision for a block of code. More...
class | CGAL::NT_converter< NT1, NT2 >
| A number type converter usable as default, for `Cartesian_converter` and `Homogeneous_converter`. More...
class | CGAL::Is_valid< T >
| Not all values of a type need to be valid. More...
class | CGAL::Max< T, Less >
| The function object class `Max` returns the larger of two values. More...
class | CGAL::Min< T, Less >
| The function object class `Min` returns the smaller of two values. More...

## Functions

template<typename T >
bool | CGAL::is_valid (const T &x)
| Not all values of a type need to be valid. More...
template<typename T >
T | CGAL::max (const T &x, const T &y)
| Returns the larger of two values. More...
template<typename T >
T | CGAL::min (const T &x, const T &y)
| Returns the smaller of two values. More...

## Function Documentation

template<typename T >

bool CGAL::is_valid | ( | const T & | x) |  |

Not all values of a type need to be valid.

Returns whether the argument is valid.

See Also
  `CGAL::Is_valid`

`#include <CGAL/utils.h>`

template<typename T >

T CGAL::max | ( | const T & | x,
|  | const T & | y
| ) |  |

Returns the larger of two values.

See Also
  `CGAL::Max`

`#include <CGAL/utils.h>`

template<typename T >

T CGAL::min | ( | const T & | x,
|  | const T & | y
| ) |  |

Returns the smaller of two values.

See Also
  `CGAL::Min`

`#include <CGAL/utils.h>`