Academia.eduAcademia.edu

Modern Computer Arithmetic (version 0.5.1)

2010, ArXiv

Abstract

This is a draft of a book about algorithms for performing arithmetic, and their implementation on modern computers. We are concerned with software more than hardware - we do not cover computer architecture or the design of computer hardware. Instead we focus on algorithms for efficiently performing arithmetic operations such as addition, multiplication and division, and their connections to topics such as modular arithmetic, greatest common divisors, the Fast Fourier Transform (FFT), and the computation of elementary and special functions. The algorithms that we present are mainly intended for arbitrary-precision arithmetic. They are not limited by the computer word size, only by the memory and time available for the computation. We consider both integer and real (floating-point) computations. The book is divided into four main chapters, plus an appendix. Our aim is to present the latest developments in a concise manner. At the same time, we provide a self-contained introduction for...

Key takeaways

  • end) of the algorithm.
  • Here is an example of this algorithm for m = 3 and n = 2.
  • The output integer X is an approximation to β 2n /A.
  • Thus B P −1 ≤ |F | < B P at the end of the algorithm.
  • An algorithm is given in [102].