FURTHER READING

  1. Floating Point Operations in x86: Data movement: Load, Load Constant, and Store Arithmetic: Add, Subtract, Multiply, Divide, Square Root and Absolute Value Comparison: Instructions to send the result to the integer CPU so that it can branch Transcendental: Sine, Cosine, Log, and Exponentiation.
  2. If you want to use floating point computations, you should be aware of their problems and how to avoid them; a good starting point is David Goldberg, “What Every Computer Scientist Should Know About Floating-point Arithmetic” (http://docs.sun.com/source/806-3568/ncg_ goldberg.html), ACM Computing Surveys 23(1):5–48, March 1991.

Get Compilers: Principles and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.