DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
utlConstants.h
Go to the documentation of this file.
1 
11 #ifndef __utlConstants_h
12 #define __utlConstants_h
13 
14 #include "utlSTDHeaders.h"
15 
16 namespace utl
17 {
18 
23 __UTL_constexpr static double PI = 3.14159265358979323846264338328;
25 __UTL_constexpr static double E = 2.71828182845904523536028747135;
27 __UTL_constexpr static double LOG2E = 1.44269504088896340735992468100;
29 __UTL_constexpr static double LOG10E = 0.43429448190325182765112891892;
31 __UTL_constexpr static double SQRT2 = 1.41421356237309504880168872421;
33 __UTL_constexpr static double SQRT1_2 = 0.70710678118654752440084436210;
35 __UTL_constexpr static double SQRT3 = 1.73205080756887729352744634151;
37 __UTL_constexpr static double PI_2 = 1.57079632679489661923132169164;
39 __UTL_constexpr static double PI_4 = 0.78539816339744830961566084582;
41 __UTL_constexpr static double SQRTPI = 1.77245385090551602729816748334;
42 
43 
46 }
47 
48 
49 #endif
static constexpr double PI
Definition: utlConstants.h:23
static constexpr double E
Definition: utlConstants.h:25
static constexpr double SQRT1_2
Definition: utlConstants.h:33
Definition: utl.h:90
static constexpr double LOG10E
Definition: utlConstants.h:29
static constexpr double LOG2E
Definition: utlConstants.h:27
static constexpr double PI_2
Definition: utlConstants.h:37
static constexpr double PI_4
Definition: utlConstants.h:39
static constexpr double SQRTPI
Definition: utlConstants.h:41
static constexpr double SQRT3
Definition: utlConstants.h:35
static constexpr double SQRT2
Definition: utlConstants.h:31
#define __UTL_constexpr
Definition: utlSTDHeaders.h:45