From afdceec5cc97d395b35e8ac3b46a0282cc546ea5 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Fri, 3 Aug 2018 21:14:24 +0200 Subject: [PATCH] added half and fourth Pi constant --- const.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/const.hh b/const.hh index caf2070..26a5c46 100644 --- a/const.hh +++ b/const.hh @@ -11,6 +11,8 @@ namespace DSP { template struct Const { + 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) static inline T TwoPi() { return 6.28318530717958647693; } // 8*a(1) static inline T FourPi() { return 12.56637061435917295385; } // 16*a(1)