Home > Store > Programming

Art of Computer Programming, Volume 2: Seminumerical Algorithms, 3rd Edition

Register your product to gain access to bonus material or receive a coupon.

Art of Computer Programming, Volume 2: Seminumerical Algorithms, 3rd Edition

eBook (Watermarked)

  • Your Price: $51.19
  • List Price: $63.99
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.

Also available in other formats.


  • Copyright 1998
  • Pages: 784
  • Edition: 3rd
  • eBook (Watermarked)
  • ISBN-10: 0-13-348880-2
  • ISBN-13: 978-0-13-348880-7

The bible of all fundamental algorithms and the work that taught many of today's software developers most of what they know about computer programming.

Byte, September 1995

I can't begin to tell you how many pleasurable hours of study and recreation they have afforded me! I have pored over them in cars, restaurants, at work, at home... and even at a Little League game when my son wasn't in the line-up.

—Charles Long

If you think you're a really good programmer... read [Knuth's] Art of Computer Programming... You should definitely send me a resume if you can read the whole thing.

—Bill Gates

It's always a pleasure when a problem is hard enough that you have to get the Knuths off the shelf. I find that merely opening one has a very useful terrorizing effect on computers.

—Jonathan Laventhol

The second volume offers a complete introduction to the field of seminumerical algorithms, with separate chapters on random numbers and arithmetic. The book summarizes the major paradigms and basic theory of such algorithms, thereby providing a comprehensive interface between computer programming and numerical analysis. Particularly noteworthy in this third edition is Knuth's new treatment of random number generators, and his discussion of calculations with formal power series.

eBook (PDF version) produced by Mathematical Sciences Publishers (MSP), http://msp.org

Sample Content

Table of Contents

3. Random Numbers.


Generating Uniform Random Numbers.

The Linear Congruential Method.

Other Methods.

Statistical Tests.

General Test Procedures for Studying Random Data.

Empirical Tests.

Theoretical Tests.

The Spectral Test.

Other Types of Random Quantities.

Numerical Distributions.

Random Sampling and Shuffling.

What Is a Random Sequence?


4. Arithmetic.

Positional Number Systems.

Floating Point Arithmetic.

Single-Precision Calculations.

Accuracy of Floating Point Arithmetic.

Double-Precision Calculations.

Distribution of Floating Point Numbers.

Multiple Precision Arithmetic.

The Classical Algorithms.

Modular Arithmetic.

How Fast Can We Multiply?

Radix Conversion.

Rational Arithmetic.


The Greatest Common Divisor.

Analysis of Euclid's Algorithm.

Factoring into Primes.

Polynomial Arithmetic.

Division of Polynomials.

Factorization of Polynomials.

Evaluation of Powers.

Evaluation of Polynomials.

Manipulation of Power Series.

Answers to Exercises.

Appendix A. Tables of Numerical Quantities.

Fundamental Constants (decimal).

Fundamental Constants (octal).

Harmonic Numbers, Bernoulli Numbers, Fibonacci Numbers.

Appendix B. Index to Notations.

Index and Glossary. 0201896842T03062003


Submit Errata

More Information



Get unlimited 30-day access to thousands of Books & Training Videos about technology, professional development and digital media If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months.