Fixed-precision arithmetic

Fixed-precision arithmetic, also referred to as finite-precision arithmetic, is arithmetic on numbers that are represented in a fixed number of digits.[1] Examples are integers, fixed-point numbers, and floating-point numbers, but not rational numbers and arbitrary-precision numbers. The number of digits being fixed means that the maximal number of significant digits is also fixed, which complicates the significance arithmetic that has to be used with them.[2]

The values a fixed-precision number format can represent is determined by the radix of its digits, the number of digits (its precision), and the factor the integer value formed by the digits in the radix is multiplied by (i.e. its scale). Integer number formats in this definition have scale 1, fixed-point a fixed integer power of the radix, and with floating-point a variable integer power.

References

[edit]
  1. ^ Karna, Satish K. Digital Electronics GATE, PSUS AND ES Examination. Vikas Publishing House. p. 7. ISBN 978-93-259-9033-3.
  2. ^ Sofroniou, Mark; Spaletta, Giulia (2005-07-01). "Precise numerical computation". The Journal of Logic and Algebraic Programming. Practical development of exact real number computation. 64 (1): 113–134. doi:10.1016/j.jlap.2004.07.007. ISSN 1567-8326.

Sources

[edit]