This Clause describes components that C++ programs may use to perform seminumerical operations.

The following subclauses describe components for
complex number types, random number generation,
numeric (*n*-at-a-time)
arrays, generalized numeric algorithms,
and facilities included from the ISO C library,
as summarized in Table [tab:numerics.lib.summary].

Table 114 — Numerics library summary

Subclause | Header(s) | |

[numeric.requirements] | Requirements | |

[cfenv] | Floating-Point Environment | <cfenv> |

[complex.numbers] | Complex Numbers | <complex> |

[rand] | Random number generation | <random> |

[numarray] | Numeric arrays | <valarray> |

[numeric.ops] | Generalized numeric operations | <numeric> |

[c.math] | C library | <cmath> |

<ctgmath> | ||

<tgmath.h> | ||

<cstdlib> |