Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
Math.h File Reference
#include <cmath>

Namespaces

namespace  Math
 Namespace for new Math classes and functions.
namespace  ROOT
namespace  ROOT::Math

Macros

#define M_PI   3.14159265358979323846264338328
#define M_PI_2   1.57079632679489661923132169164
#define M_PI_4   0.78539816339744830961566084582

Functions

double ROOT::Math::expm1 (double x)
 exp(x) -1 with error cancellation when x is small
double ROOT::Math::log1p (double x)
 declarations for functions which are not implemented by some compilers
double ROOT::Math::Pi ()
 Mathematical constants.

Macro Definition Documentation

◆ M_PI

#define M_PI   3.14159265358979323846264338328

Definition at line 37 of file Math.h.

◆ M_PI_2

#define M_PI_2   1.57079632679489661923132169164

Definition at line 41 of file Math.h.

◆ M_PI_4

#define M_PI_4   0.78539816339744830961566084582

Definition at line 45 of file Math.h.