fix signed overflows at most-negative values in ato(i|l|ll) patch by Pascal Cuoq (with minor tweaks to comments)
initial check-in, version 0.5.0