17#define _USE_MATH_DEFINES
22#if defined(__sun) || defined(_MSC_VER)
36#define M_PI 3.14159265358979323846264338328
40#define M_PI_2 1.57079632679489661923132169164
44#define M_PI_4 0.78539816339744830961566084582
116 if (std::abs(
x) < 0.5)
122 double term =
x / 1.0;
double atan2(double, double)
double pow(double, double)
Namespace for new Math classes and functions.
double log1p(double x)
declarations for functions which are not implemented by some compilers
double Pi()
Mathematical constants.
double expm1(double x)
exp(x) -1 with error cancellation when x is small
static long int sum(long int i)