Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
afw_number.c File Reference

Adaptive Framework Number. More...

#include "afw_internal.h"
#include <float.h>

Go to the source code of this file.

Functions

 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_size_t impl_integer_len_as_u8 (afw_integer_t i)
 
void impl_number_integer_set_u8 (afw_integer_t i, afw_utf8_octet_t *s, afw_size_t needed, afw_xctx_t *xctx)
 
 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_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_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...
 
 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...
 

Detailed Description

Adaptive Framework Number.

Definition in file afw_number.c.