libcommonc++  0.7
Numeric.h++ File Reference
#include <limits>
#include <commonc++/OutOfBoundsException.h++>
Include dependency graph for Numeric.h++:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Numeric
 Numeric and bitwise utility functions. More...
 

Namespaces

 ccxx
 

Functions

template<typename S , typename T >
numeric_cast (S value)
 A range-checked numeric cast. More...
 
template<typename S , typename T >
numeric_clipping_cast (S value)
 A range-clipping numeric cast. More...
 
template<typename T >
numeric_clip (T value, T min, T max)
 A numeric range-clipping function. More...