For base 10, cast unsigned long to long before testing overflow.
This prevents 4294967296 from being an acceptable way to spell zero!
Showing
Please
register
or
sign in
to comment
This prevents 4294967296 from being an acceptable way to spell zero!