#include <ucommon/platform.h>
Include dependency graph for numbers.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | ucommon |
Data Structures | |
class | ucommon::Number |
A number manipulation class.number manipulation. More... | |
class | ucommon::ZNumber |
A number manipulation class that maintains a zero lead filled string.zero filled number manipulation. More... | |
Typedefs | |
typedef Number | ucommon::number_t |
A convenience type for number. | |
typedef ZNumber | ucommon::znumber_t |
A convenience type for znumber. | |
Functions | |
template<typename T> | |
T | ucommon::abs (T &value) |
Template for absolute value of a type. | |
template<typename T> | |
T &() | ucommon::max (T &o1, T &o2) |
Convenience function to return max of two objects. | |
template<typename T> | |
T &() | ucommon::min (T &o1, T &o2) |
Convenience function to return min of two objects. |
This is used for things which parse numbers out of strings, such as in the date and time classes. Other useful math related functions, templates, and macros may also be found here.
Definition in file numbers.h.