Lines Matching defs:base
33 @deftypefn Supplemental {long int} strtol (const char *@var{string}, char **@var{endptr}, int @var{base})
34 @deftypefnx Supplemental {unsigned long int} strtoul (const char *@var{string}, char **@var{endptr}, int @var{base})
37 long integer value according to the given @var{base}, which must be
38 between 2 and 36 inclusive, or be the special value 0. If @var{base}
40 to indicate bases 8 and 16, respectively, else default to base 10.
41 When the base is 16 (either explicitly or implicitly), a prefix of
88 strtol(const char *nptr, char **endptr, register int base)
98 * If base is 0, allow 0x for hex and 0 for octal, else
99 * assume decimal; if base is already 16, allow 0x.
109 if ((base == 0 || base == 16) &&
113 base = 16;
115 if (base == 0)
116 base = c == '0' ? 8 : 10;
121 * base. An input number that is greater than this value, if
126 * [-2147483648..2147483647] and the input base is 10,
136 cutlim = cutoff % (unsigned long)base;
137 cutoff /= (unsigned long)base;
145 if (c >= base)
151 acc *= base;