Rev 8793 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8793 | Rev 9081 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include |
1 | #include |
2 | #include |
2 | #include |
3 | #include |
3 | #include |
Line 4... | Line -... | ||
4 | - | ||
5 | #define LONG_MIN (-2147483647L-1) |
- | |
6 | #define LONG_MAX (2147483647L) |
- | |
7 | #define ULONG_MAX (4294967295UL) |
- | |
8 | - | ||
9 | 4 | ||
10 | int getdigit(char ch, int base) |
5 | int getdigit(char ch, int base) |
11 | { |
6 | { |
12 | if (isdigit(ch)) ch-= '0'; |
7 | if (isdigit(ch)) ch-= '0'; |
13 | else |
8 | else |