mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
added FourPi()
This commit is contained in:
parent
ef65f1630a
commit
37f98dcf1c
1 changed files with 3 additions and 2 deletions
5
const.hh
5
const.hh
|
|
@ -11,8 +11,9 @@ namespace DSP {
|
|||
|
||||
template <typename T>
|
||||
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)
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue