© Peter Van Weert and Marc Gregoire 2016
Peter Van Weert and Marc GregoireC++ Standard Library Quick Reference10.1007/978-1-4842-1876-1_11. Numerics and Math
Peter Van Weert1 and Marc Gregoire2
Electronic supplementary material
Common Mathematical Functions <cmath>
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: