97 /* |
98 /* |
98 * Assumption: Reversing the digits will be faster in the general case |
99 * Assumption: Reversing the digits will be faster in the general case |
99 * than doing a log10 or some nasty trick to find the # of digits. |
100 * than doing a log10 or some nasty trick to find the # of digits. |
100 */ |
101 */ |
101 |
102 |
102 NSAPI_PUBLIC int INTutil_i64toa(PRInt64 i, char *a) |
103 NSAPI_PUBLIC int INTutil_i64toa(int64_t i, char *a) |
103 { |
104 { |
104 register int x, y, p; |
105 register int x, y, p; |
105 register char c; |
106 register char c; |
106 int negative; |
107 int negative; |
107 |
108 |