LInteger-An Approach to Store and Manipulate Large Integers

Authors

  • Baswaraju Swathi New Horizon College of Engineering, Bangalore, India

Keywords:

Infinite-precision, fixed-precision, arithmetic, overflow wrap

Abstract

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.

Downloads

Download data is not yet available.

Downloads

Published

2019-08-15

How to Cite

[1]
B. Swathi, “LInteger-An Approach to Store and Manipulate Large Integers”, pices, vol. 3, no. 3, pp. 30-35, Aug. 2019.