Numerics and Math

  • Peter Van Weert
  • Marc Gregoire


The <cmath> header defines an extensive collection of common math functions in the std namespace. Unless otherwise specified, all functions are overloaded to accept all standard numerical types, with the following rules for determining the return type:

Copyright information

© Peter Van Weert and Marc Gregoire 2019

Authors and Affiliations

  • Peter Van Weert
    • 1
  • Marc Gregoire
    • 2
  1. 1.Kessel-LoBelgium
  2. 2.MeldertBelgium

Personalised recommendations