libcommonc++
0.7
|
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 > | |
T | numeric_cast (S value) |
A range-checked numeric cast. More... | |
template<typename S , typename T > | |
T | numeric_clipping_cast (S value) |
A range-clipping numeric cast. More... | |
template<typename T > | |
T | numeric_clip (T value, T min, T max) |
A numeric range-clipping function. More... | |