LInteger-An Approach to Store and Manipulate Large Integers
Keywords:
Infinite-precision, fixed-precision, arithmetic, overflow wrapAbstract
Arithmetic operations are elementary in computing and programming. Infinite precision arithmetic indicates the calculations that are performed on numbers whose digits of accuracy are inclined only by the existing memory of the host system. This converse with the earlier fixed-precision arithmetic originated in arithmetic logic unit hardware, usually offers amid 8 and 64 bits of precision. In computer programming, an integer overflow occurs if an arithmetic operation attempts to generate a numeric value that is beyond the range that can be indicated with a given number of digits larger than the maximum or lower than the minimum representable value. Generally the outcome of an overflow is the least significant digits of the result are stored, the result is said to wrap around the maximum. An overflow condition may give results leading to unintentional behaviour. In particular, if the possibility has not been predicted, overflows can concile a program's reliability and security. In this paper we build a system that permits storage and manipulation of large integer values. Applications may vary from storing a 100! to a large bit customer identification number.