1#ifndef __DCL_NUMERIC_H__
2 #error "Never use <dcl/core/Numeric.inl> directly; include <dcl/core/Numeric.h> instead."
4#ifndef __DCL_NUMERIC_INL__
5#define __DCL_NUMERIC_INL__
8#error "must defined __WORDSIZE"
11#if !(__WORDSIZE == 32 || __WORDSIZE == 64)
12#error "unsupported __WORDSIZE"
42inline int Integer::parse(
const wchar_t* _number,
unsigned _base,
int _default)
75inline unsigned int UInteger::parse(
const wchar_t* _number,
unsigned _base,
unsigned int _default)
232 *
this = (uint64_t)_u;
234 *
this = (uint32_t)_u;
276 const char* pszDecimalFormat
String toStringF(const char *pszDecimalFormat=NULL) const
void assign(const wchar_t *_number, int _n)
const Decimal & operator=(const Decimal &value)
String toString(unsigned _base=10) const
static int32_t parse(const wchar_t *_number, unsigned _base=10) __DCL_THROWS1(NumericConvertException *)
String toString(unsigned _base=10) const
String toString(unsigned _base=10) const
static int parse(const wchar_t *_number, unsigned _base=10) __DCL_THROWS1(NumericConvertException *)
static uint32_t parse(const wchar_t *_number, unsigned _base=10) __DCL_THROWS1(NumericConvertException *)
String toString(unsigned _base=10) const
String toString(unsigned _base=10) const
UInteger(unsigned int _u)
String toString(unsigned _base=10) const
static unsigned int parse(const wchar_t *_number, unsigned _base=10) __DCL_THROWS1(NumericConvertException *)