A GENERAL CHARACTER TO INTEGER CONVERSION METHOD
Abstract
Most programs which involve character to integer conversion fail to detect integer overflow correctly. This paper describes some of the pitfalls of not recognizing overflow, and presents a correct method for doing so in an arbitrary base for any precision.