37 *s =
'0' + (val & 0x7);
45 uint8_t digit =
'0' + (val & 0xf);
48 digit += (
'a' -
'0' - 10);
51 digit += (
'A' -
'0' - 10);
73 *s++ =
'0' + saved - 10 * (uint8_t)xval;
82 *s =
'0' + (val & 0x7);
90 uint8_t digit =
'0' + (val & 0xf);
93 digit += (
'a' -
'0' - 10);
96 digit += (
'A' -
'0' - 10);
110 uint8_t saved = xval;
119 *s++ =
'0' + saved - 10 * (uint8_t)xval;
char * ultoa_invert(uint32_t val, char *s, uint8_t base)
char * ulltoa_invert(uint64_t val, char *s, uint8_t base)