|
Developer Documentation
|
#include <Tools/Utils/NumLimitsT.hh>
Public Member Functions | |
| bool | is_float () |
| bool | is_float () |
| bool | is_float () |
| bool | is_signed () |
| bool | is_signed () |
| bool | is_signed () |
| bool | is_signed () |
| bool | is_signed () |
| int | min () |
| int | max () |
| float | min () |
| float | max () |
| double | min () |
| double | max () |
Static Public Member Functions | |
| static Scalar | min () |
| Return the smallest absolte value a scalar type can store. | |
| static Scalar | max () |
| Return the maximum absolte value a scalar type can store. | |
| static bool | is_float () |
| static bool | is_integer () |
| static bool | is_signed () |
This class provides the maximum and minimum values a certain scalar type (int, float, or double) can store. You can use it like this:
Definition at line 91 of file NumLimitsT.hh.
|
inlinestatic |
Definition at line 99 of file NumLimitsT.hh.
|
inline |
Definition at line 107 of file NumLimitsT.hh.
|
inline |
Definition at line 110 of file NumLimitsT.hh.
|
inline |
Definition at line 113 of file NumLimitsT.hh.
|
inlinestatic |
Definition at line 100 of file NumLimitsT.hh.
|
inlinestatic |
Definition at line 101 of file NumLimitsT.hh.
|
inline |
Definition at line 118 of file NumLimitsT.hh.
|
inline |
Definition at line 121 of file NumLimitsT.hh.
|
inline |
Definition at line 124 of file NumLimitsT.hh.
|
inline |
Definition at line 127 of file NumLimitsT.hh.
|
inline |
Definition at line 130 of file NumLimitsT.hh.
|
inlinestatic |
Return the maximum absolte value a scalar type can store.
Definition at line 97 of file NumLimitsT.hh.
|
inline |
Definition at line 134 of file NumLimitsT.hh.
|
inline |
Definition at line 137 of file NumLimitsT.hh.
|
inline |
Definition at line 140 of file NumLimitsT.hh.
|
inlinestatic |
Return the smallest absolte value a scalar type can store.
Definition at line 95 of file NumLimitsT.hh.
|
inline |
Definition at line 133 of file NumLimitsT.hh.
|
inline |
Definition at line 136 of file NumLimitsT.hh.
|
inline |
Definition at line 139 of file NumLimitsT.hh.