MySQL 5.6.14 Source Code Document
|
#include <NdbTypesUtil.hpp>
Public Types | |
typedef NumTypeMap< T >::DomainT | DomainT |
typedef NumTypeMap< T >::SignedT | SignedT |
typedef NumTypeMap< T >::UnsignedT | UnsignedT |
Static Public Member Functions | |
static bool | isIntegral () |
static bool | isSigned () |
static Uint32 | size () |
static T | lowest () |
static T | highest () |
static T | smallest () |
Common Traits of NDB numeric types.
Notes: the C++ stdlib offers limits as part of std::numeric_limits; its bounds definitions result in a non-uniform usage over different data types, with min() referring to the smallest positive value for float and double, but lowest negative value for integral types. In contrast, this Traits class's functions lowest() and smallest() support a uniform usage.
Definition at line 95 of file NdbTypesUtil.hpp.