| 58 | static_assert(int('9') == 57, "this code relies on ASCII compatible source encoding"); |
| 59 | |
| 60 | bool numeric(char c) { return c >= '0' && c <= '9'; } |
| 61 | |
| 62 | // finds the end of an integer and verifies that it looks valid this does |
| 63 | // not detect all overflows, just the ones that are an order of magnitude |
no outgoing calls
no test coverage detected