From 81542d20aa6934ca51a885cd671afdc48000d3cb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 27 Aug 2016 17:20:27 +0200 Subject: No discrimination against systems which don't have a PI define --- libs/qm-dsp/dsp/tonal/ChangeDetectionFunction.cpp | 2 +- libs/qm-dsp/dsp/tonal/TonalEstimator.cpp | 2 +- libs/qm-dsp/maths/MathAliases.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/qm-dsp') 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 #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 ComplexData; #ifndef PI -#define PI (3.14159265358979232846) +#define PI (3.14159265358979323846) #endif #define TWO_PI (2. * PI) -- cgit v1.2.3