Adaptive Framework
0.9.0
|
Adaptive Framework Number Header. More...
Go to the source code of this file.
Macros | |
#define | AFW_NUMBER_Q_INF "INF" |
#define | AFW_NUMBER_Q_INFINITY "Infinity" |
#define | AFW_NUMBER_Q_NEGATIVE_INF "-INF" |
#define | AFW_NUMBER_Q_NEGATIVE_INFINITY "-Infinity" |
#define | AFW_NUMBER_Q_NAN "NaN" |
#define | AFW_NUMBER_Q_NEGATIVE_NAN "-NaN" |
#define | AFW_NUMBER_Q_EXPONENT_ZERO "E0" |
#define | afw_number_parse_integer(cursor, len, i, p, xctx) afw_number_parse(cursor, len, i, NULL, NULL, p, xctx) |
Parse an integer using specified pool for work area. More... | |
#define | afw_number_parse_double(cursor, len, d, p, xctx) afw_number_parse(cursor, len, NULL, d, NULL, p, xctx) |
Parse a double using specified pool for work area. More... | |
Functions | |
afw_boolean_t | afw_number_is_finite (double d) |
Determine if double is finite. More... | |
afw_boolean_t | afw_number_is_positive_infinity (double d) |
Determine if double is positive infinity. More... | |
afw_boolean_t | afw_number_is_negative_infinity (double d) |
Determine if double is negative infinity. More... | |
afw_boolean_t | afw_number_is_NaN (double d) |
Determine if double is not a number. More... | |
afw_size_t | afw_number_parse (const afw_utf8_octet_t *cursor, afw_size_t len, afw_integer_t *i, afw_double_t *d, afw_boolean_t *is_double, const afw_pool_t *p, afw_xctx_t *xctx) |
Parse an integer or double using specified pool for work area. More... | |
const afw_utf8_t * | afw_number_double_to_utf8 (afw_double_t d, const afw_pool_t *p, afw_xctx_t *xctx) |
Convert a double to utf8 in specified pool. More... | |
afw_double_t | afw_number_utf8_to_double (const afw_utf8_t *s, const afw_pool_t *p, afw_xctx_t *xctx) |
Convert a utf8 string to double in specified pool. More... | |
const afw_utf8_t * | afw_number_integer_to_utf8 (afw_integer_t i, const afw_pool_t *p, afw_xctx_t *xctx) |
Convert an integer to utf8 in specified pool. More... | |
afw_size_t | afw_number_integer_set_u8 (afw_integer_t i, afw_utf8_octet_t *s, afw_size_t len, afw_xctx_t *xctx) |
Convert an integer to u8 in supplied buffer. More... | |
afw_integer_t | afw_number_utf8_to_integer (const afw_utf8_t *s, const afw_pool_t *p, afw_xctx_t *xctx) |
Convert a utf8 string to integer in specified pool. More... | |
int | afw_number_bytes_needed_size_t (afw_size_t i) |
Determine bytes needed to hold printable size_t. More... | |
afw_number_bytes_needed_integer (afw_integer_t i) | |
Determine bytes needed to hold printable afw_integer_t. More... | |
Adaptive Framework Number Header.
Definition in file afw_number.h.