added eighth Pi constant

This commit is contained in:
Ahmet Inan 2018-08-12 17:46:52 +02:00
commit 7344f2d58c

View file

@ -11,6 +11,7 @@ namespace DSP {
template <typename T>
struct Const {
static inline T EighthPi() { return 0.39269908169872415481; } // a(1)/2
static inline T FourthPi() { return 0.78539816339744830962; } // 1*a(1)
static inline T HalfPi() { return 1.57079632679489661923; } // 2*a(1)
static inline T Pi() { return 3.14159265358979323846; } // 4*a(1)