cppx-core
std-calc.hpp File Reference

Just includes <c/math.hpp>, <complex> and <numeric>, where the first header provides Posix’ M_PI macro, as well as M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2 and M_SQRT1_2. More...

#include <c/math.hpp>
#include <complex>
#include <numeric>
Include dependency graph for std-calc.hpp:

Go to the source code of this file.

Detailed Description

Just includes <c/math.hpp>, <complex> and <numeric>, where the first header provides Posix’ M_PI macro, as well as M_E, M_LOG2E, M_LOG10E, M_LN2, M_LN10, M_PI_2, M_PI_4, M_1_PI, M_2_PI, M_2_SQRTPI, M_SQRT2 and M_SQRT1_2.

In addition to the contents of <cmath> and <math.h>, the <c/math.hpp> header brings in int overloads of abs and div from <cstdlib> and <stdlib.h>.

Definition in file std-calc.hpp.