Rosetta
|
Brief utility classes for numeric usage. More...
#include <platform/types.hh>
#include <limits>
#include <cmath>
Namespaces | |
utility | |
unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0. | |
Functions | |
bool | utility::isnan (platform::Real const &val) |
bool | utility::isinf (platform::Real const &val) |
bool | utility::isfinite (platform::Real const &val) |
platform::Real | utility::round (platform::Real const &val) |
platform::Real | utility::copysign (platform::Real const &x, platform::Real const &y) |
platform::Size | utility::get_undefined_size () |
Get a numeric value for Size that represents an "undefined" value. More... | |
bool | utility::is_undefined (platform::Size const &val) |
Check if a Size is undefined (i.e has the same value as utility::get_undefined_size() ) More... | |
platform::Real | utility::get_undefined_real () |
Get a numeric value for Real that represents an "undefined" value. More... | |
bool | utility::is_undefined (platform::Real const &val) |
Check if a Real is undefined (i.e has the same value as utility::get_undefined_real() ) More... | |
Brief utility classes for numeric usage.
For more complex numeric utilties, see the numeric namespace