Chapter 17. Numerics
This chapter describes numeric components of the C++ standard library. In particular, it presents the components for random numbers and distributions, the classes for complex numbers, the global numeric functions that are inherited from the C library, and value arrays.
However, the C++ standard library provides more numeric components:
1. For all fundamental numeric data types, the implementation-specific aspects of their representation are specified by numeric_limits
, as described in Section 5.3, page 115.
2. Class ratio<>
provides fractional arithmetics especially as a base for durations and timepoints (see Section 5.6, page 140).
3. The STL contains some numeric algorithms, which are described in Section 11.11, page 623 ...
Get C++ Standard Library, The: A Tutorial and Reference, 2nd 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.