Chapter 22. Numerics

 

The purpose of computing is insight, not numbers.

 
 --R.W. Hamming
 

... but for the student, numbers are often the best road to insight.

 
 --A. Ralston

Introduction

It is rare to write any real code without doing some calculation. However, most code requires little mathematics beyond simple arithmetic. This chapter presents the facilities the standard library offers to people who go beyond that.

Neither C nor C++ were designed primarily with numeric computation in mind. However, ...

Get The C++ Programming Language, Special Edition 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.