3 * Written by EA because ReactOS hasn't yet _ui64toa()
4 * (it's in msvcrt.dll, and not in crtdll.dll).
10 char DigitMap
[] = "0123456789abcdefghijklmnopqrstuvwxyz";
14 unsigned __int64 value
,
25 /* Check the radix is valid */
26 if ((2 > radix
) || (36 < radix
))
30 /* Convert the int64 to a string */
32 reminder
= (int) (value
% (__int64
) radix
);
33 *(w
++) = DigitMap
[reminder
];
34 value
/= (__int64
) radix
;
37 } while ((__int64
) value
> 0);
38 /* Reverse the string */
41 string
[i
++] = *(-- w
);