30static ROM char ASCIItable[]=
"zyxwvutsrqponmlkjihgfedcba9876543210123456789abcdefghijklmnopqrstuvwxyz";
57static ROM char hexdigits[] =
"0123456789abcdef";
106 else if( value == 0.0f)
117 while( value >= 10.0f)
208 *
s++ = value % 10 +
'0';
214#define isdigit(c) (c >= '0' && c <= '9')
230 while ((c = *
s++) !=
'\0' &&
isdigit(c)) {
231 a =
a*10.0f + (
float)(c -
'0');
234 while ((c = *
s++) !=
'\0' &&
isdigit(c)) {
235 a =
a*10.0f + (
float)(c -
'0');
239 if (c ==
'e' || c ==
'E') {
250 i =
i*10 + (c -
'0');
float my_atof(const char *s)
char * utox(char *result, uint32_t value, uint8_t nibbles)
char * format_integer(char *s, int32_t value)
signed integer to ASCII returning the string end
char * lutox(char *result, uint64_t value)
void portable_ftoa(char *res, float value, unsigned no_of_decimals, unsigned res_len)
char * my_ftoa(char *target, float value)
char * itoa(int value, char *result, int base)
char * my_itoa(char *target, int value)
Simple and fast ASCII converters.
mathematical vector of arbitrary type and size
defines platform-dependent algorithms and constants
settings to allow compiling embedded software on a PC target