My Project
|
#include <ValueTraits.h>
Public Member Functions | |
ValueTraits (double t) | |
const char * | asString (void) const |
Private Types | |
enum | { MAX_DIGITS_ON_LEFT = 24 , DIGITS_ON_RIGHT = 4 , BASE = 10 } |
Private Member Functions | |
char * | doNegative (double &t) |
void | hugeNumber (double t) |
void | normalNumber (double t) |
char * | doubleToString (double t, char *s, unsigned skip=0, unsigned max=(unsigned) -1) |
Static Private Member Functions | |
static unsigned | requiredDigitsOnLeft (double t) |
Private Attributes | |
char | _asString [1+MAX_DIGITS_ON_LEFT+1+DIGITS_ON_RIGHT+1] |
Definition at line 310 of file ValueTraits.h.
|
private |
Enumerator | |
---|---|
MAX_DIGITS_ON_LEFT | |
DIGITS_ON_RIGHT | |
BASE |
Definition at line 323 of file ValueTraits.h.
|
inline |
Definition at line 313 of file ValueTraits.h.
|
inline |
Definition at line 320 of file ValueTraits.h.
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
Definition at line 324 of file ValueTraits.h.