No discrimination against systems which don't have a PI define
authorRobin Gareus <robin@gareus.org>
Sat, 27 Aug 2016 15:20:27 +0000 (17:20 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 27 Aug 2016 15:20:27 +0000 (17:20 +0200)
libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp
libs/qm-dsp/dsp/tonal/TonalEstimator.cpp
libs/qm-dsp/maths/MathAliases.h

index a572da6ee81b56915252d2dc6626cd34c68fc3d6..9b1a3219acfbef17017d425cd03cea35dfb3a520 100644 (file)
@@ -16,7 +16,7 @@
 #include "ChangeDetectionFunction.h"
 
 #ifndef PI
-#define PI (3.14159265358979232846)
+#define PI (3.14159265358979323846)
 #endif
 
 
index 72b6f85c83ff0a695dd3d58b235ab38e1a4e8843..03e22cc80426d472cc5c56391cd493f903bb2f56 100644 (file)
@@ -19,7 +19,7 @@
 #include <iostream>
 
 #ifndef PI
-#define PI (3.14159265358979232846)
+#define PI (3.14159265358979323846)
 #endif
 
 TonalEstimator::TonalEstimator()
index 8660129cbb20cbd78464b09445217cf41a6b653c..f597edc392ed5bd106bab91480add3e3b169f394 100644 (file)
@@ -24,7 +24,7 @@ typedef complex<double> ComplexData;
 
 
 #ifndef PI
-#define PI (3.14159265358979232846)
+#define PI (3.14159265358979323846)
 #endif
 
 #define TWO_PI                 (2. * PI)