17 #define FLOAT_DIGITS 100000. 97 *destination++=*source++;
142 char const digit[] =
"0123456789";
153 *--str = digit[i%10];
195 dyn_itoa(&str[len+1], b < 0 ? -b : b);
218 return (*a - *(b - 1));
dyn_ushort dyn_itoa_len(dyn_int i)
Calculates the number of required characters for integer to string (decimal) conversion, minus increases the value by one.
const char * dyn_const_str
Standard dynamic C const string.
Definition of C string manipulation functions.
int32_t dyn_int
32bit signed integer, standard Integer type.
void dyn_strcat2(dyn_str destination, dyn_const_str source)
Concatenate strings, required memory is automatically allocated.
dyn_ushort dyn_strlen(dyn_const_str str)
Returns the length of an string.
void dyn_strcpy(dyn_str destination, dyn_const_str source)
Copy string.
void dyn_ftoa(dyn_str str, const dyn_float f)
Float to ASCII-string conversion (decimal).
dyn_ushort dyn_ftoa_len(const dyn_float f)
Calculates the number of required characters for float to string (decimal) conversion, minus increases the value by one.
char dyn_char
Basic 8bit signed integer.
uint16_t dyn_ushort
16bit unsigned integer
dyn_str str
pointer to character-array
void dyn_itoa(dyn_str str, dyn_int i)
Integer to ASCII-string conversion.
void dyn_strcat(dyn_str destination, dyn_const_str source)
Concatenate strings.
dyn_char dyn_strcmp(dyn_const_str a, dyn_const_str b)
Compares the string a to the string b.
float dyn_float
basic float definition (32 bit)
char * dyn_str
Standard dynamic C string.