Go to the source code of this file.
Classes |
struct | t_buffer |
struct | t_seq_desc |
struct | t_otokens |
struct | t_itokens |
struct | t_ext_seq_desc |
struct | t_prefix |
struct | t_number_desc |
struct | t_ioparams |
Defines |
#define | NO_DIGIT 0x7F |
#define | IO_BASE_ZERO 1 |
#define | IO_BASE_NAN 0 |
#define | IO_BASE_DEFAULT (-1) |
#define | IO_SIGN_PLUS 1 |
#define | IO_SIGN_NONE 0 |
#define | IO_SIGN_MINUS (-1) |
#define | IO_SIGN_COMPLEMENT (-2) |
#define | IO_FLAG_SUPPRESS_PLUS 0x001 |
#define | IO_FLAG_SUPPRESS_BASETAG 0x002 |
#define | IO_FLAG_SUPPRESS_CMPL 0x004 |
#define | IO_FLAG_SUPPRESS_LDG_ZERO 0x008 |
#define | IO_FLAG_SUPPRESS_TRL_ZERO 0x010 |
#define | IO_FLAG_SUPPRESS_DOT 0x020 |
#define | IO_FLAG_SUPPRESS_EXPPLUS 0x040 |
#define | IO_FLAG_SUPPRESS_EXPBASE 0x080 |
#define | IO_FLAG_SUPPRESS_EXPZERO 0x100 |
#define | IO_FLAG_SHOW_BASE 0x200 |
#define | IO_FLAG_SHOW_EXPBASE 0x400 |
Typedefs |
typedef t_buffer * | p_buffer |
typedef t_seq_desc * | p_seq_desc |
typedef char(* | t_getdigit )(int ofs, p_seq_desc param) |
typedef t_otokens * | p_otokens |
typedef t_itokens * | p_itokens |
typedef t_ext_seq_desc * | p_ext_seq_desc |
typedef t_prefix * | p_prefix |
typedef t_number_desc * | p_number_desc |
typedef t_ioparams * | p_ioparams |
Functions |
int | _significantdigits (p_seq_desc n) |
void | _clearnumber (p_number_desc n) |
Error | str2desc (p_number_desc n, p_itokens tokens) |
Error | desc2str (p_otokens tokens, p_number_desc n, int scale) |
Error | exp2str (p_buffer dest, int exp, char base) |
const char * | basePrefix (char base) |
Error | parse (p_itokens tokens, const char **buf) |
int | cattokens (char *buf, int bufsz, p_otokens tokens, signed char expbase, unsigned flags) |
void | float_stdconvert () |
char | setioparams (p_ioparams params) |
char | delioparams (signed char base) |
p_ioparams | getioparams (signed char base) |
signed char | setdefaultbase (signed char base) |
Define Documentation
Typedef Documentation
Function Documentation
int cattokens |
( |
char * |
buf, |
|
|
int |
bufsz, |
|
|
p_otokens |
tokens, |
|
|
signed char |
expbase, |
|
|
unsigned |
flags |
|
) |
| |