Go to the documentation of this file.
18 unsigned long long ret = 0;
26 if (*ptr >=
'0' && *ptr <=
'9' && *ptr <
'0' + base)
28 else if (*ptr >=
'A' && *ptr <
'A' + base - 10)
29 digit = *ptr -
'A' + 10;
30 else if (*ptr >=
'a' && *ptr <
'a' + base - 10)
31 digit = *ptr -
'a' + 10;