Logo ROOT  
Reference Guide
Math.h File Reference
#include <cmath>
Include dependency graph for Math.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  Math
 Namespace for new Math classes and functions.
 
namespace  ROOT
 VSD Structures.
 
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 More...
 
double ROOT::Math::log1p (double x)
 declarations for functions which are not implemented by some compilers More...
 
double ROOT::Math::Pi ()
 Mathematical constants. More...
 

Macro Definition Documentation

◆ M_PI

#define M_PI   3.14159265358979323846264338328

Definition at line 36 of file Math.h.

◆ M_PI_2

#define M_PI_2   1.57079632679489661923132169164

Definition at line 40 of file Math.h.

◆ M_PI_4

#define M_PI_4   0.78539816339744830961566084582

Definition at line 44 of file Math.h.