summaryrefslogtreecommitdiff
path: root/libs/qm-dsp
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-08-27 17:20:27 +0200
committerRobin Gareus <robin@gareus.org>2016-08-27 17:20:27 +0200
commit81542d20aa6934ca51a885cd671afdc48000d3cb (patch)
treea7cf256526c4551e9624d5d1204de64d337c198a /libs/qm-dsp
parentf814e68e30c67fae7990d37ad4946496a6e56aa1 (diff)
No discrimination against systems which don't have a PI define
Diffstat (limited to 'libs/qm-dsp')
-rw-r--r--libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp2
-rw-r--r--libs/qm-dsp/dsp/tonal/TonalEstimator.cpp2
-rw-r--r--libs/qm-dsp/maths/MathAliases.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp b/libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp
index a572da6ee8..9b1a3219ac 100644
--- a/libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp
+++ b/libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp
@@ -16,7 +16,7 @@
#include "ChangeDetectionFunction.h"
#ifndef PI
-#define PI (3.14159265358979232846)
+#define PI (3.14159265358979323846)
#endif
diff --git a/libs/qm-dsp/dsp/tonal/TonalEstimator.cpp b/libs/qm-dsp/dsp/tonal/TonalEstimator.cpp
index 72b6f85c83..03e22cc804 100644
--- a/libs/qm-dsp/dsp/tonal/TonalEstimator.cpp
+++ b/libs/qm-dsp/dsp/tonal/TonalEstimator.cpp
@@ -19,7 +19,7 @@
#include <iostream>
#ifndef PI
-#define PI (3.14159265358979232846)
+#define PI (3.14159265358979323846)
#endif
TonalEstimator::TonalEstimator()
diff --git a/libs/qm-dsp/maths/MathAliases.h b/libs/qm-dsp/maths/MathAliases.h
index 8660129cbb..f597edc392 100644
--- a/libs/qm-dsp/maths/MathAliases.h
+++ b/libs/qm-dsp/maths/MathAliases.h
@@ -24,7 +24,7 @@ typedef complex<double> ComplexData;
#ifndef PI
-#define PI (3.14159265358979232846)
+#define PI (3.14159265358979323846)
#endif
#define TWO_PI (2. * PI)