2 #define MAXINTLENGTH 23
10 #define ulongint unsigned long
14 f__icvt (longint value
, int *ndigit
, int *sign
, int base
)
16 static char buf
[MAXINTLENGTH
+ 1];
34 buf
[MAXINTLENGTH
- 1] = '0';
35 return &buf
[MAXINTLENGTH
- 1];
40 buf
[--i
] = (uvalue
% base
) + '0';
44 *ndigit
= MAXINTLENGTH
- i
;