The math library,
mathlib, provides double
and single-precision functions for mathematical calculations. For
example, to calculate a cube root, you can use
ISO/IEC 14882 specifies that in addition to the double versions
of the math functions in
<cmath>, C++ adds float (and long
double) overloaded versions of these functions. The ARM implementation
extends this in scope to include the additional math functions that
do not exist in C89, but that do exist in C99.
std::cbrt() on a float argument
selects the single-precision version of the function, and the same
type of selection applies to other floating-point functions in C++.