CGAL 5.2.2 - Number Types

Classes

struct  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...
 
struct  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...
 
struct  CGAL::Max< T, Less >
 The function object class Max returns the larger of two values. More...
 
struct  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 >
CGAL::max (const T &x, const T &y)
 Returns the larger of two values. More...
 
template<typename T >
CGAL::min (const T &x, const T &y)
 Returns the smaller of two values. More...
 

Function Documentation

◆ is_valid()

template<typename T >
bool CGAL::is_valid ( const T &  x)

#include <CGAL/utils.h>

Not all values of a type need to be valid.

Returns whether the argument is valid.

See also
CGAL::Is_valid

◆ max()

template<typename T >
T CGAL::max ( const T &  x,
const T &  y 
)

#include <CGAL/utils.h>

Returns the larger of two values.

See also
CGAL::Max

◆ min()

template<typename T >
T CGAL::min ( const T &  x,
const T &  y 
)

#include <CGAL/utils.h>

Returns the smaller of two values.

See also
CGAL::Min