From 37f98dcf1c5ca3959946d8097d9aa5ee3232a243 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Sun, 4 Mar 2018 09:11:00 +0100 Subject: [PATCH] added FourPi() --- const.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/const.hh b/const.hh index 7590e18..caf2070 100644 --- a/const.hh +++ b/const.hh @@ -11,8 +11,9 @@ namespace DSP { template struct Const { - static inline T Pi() { return 3.14159265358979323846; } // 4*a(1) - static inline T TwoPi() { return 6.28318530717958647693; } // 8*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) }; }