CGAL 5.1 - 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. It does so by having a default constructor that sets a particular mode on the FPU which corrects the problem, and have its destructor reset the mode to its previous state. More...
 
struct  CGAL::NT_converter< NT1, NT2 >
 
class  CGAL::Is_valid< T >
 
struct  CGAL::Max< T, Less >
 
struct  CGAL::Min< T, Less >
 

Functions

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

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