LIBML  Version 3.2.4
LIBML DSP Software Library
Macros
cosine_values.h File Reference
#include "pi_values.h"
Include dependency graph for cosine_values.h:
This graph shows which files directly or indirectly include this file:

Macros

#define COS_1PIx4_F32   7.071067812e-01F
 
#define COS_1PIx8_F32   9.238795325e-01F
 
#define COS_2PIx8_F32   7.071067812e-01F
 
#define COS_3PIx8_F32   3.826834324e-01F
 
#define COS_1PIx16_F32   9.807852804e-01F
 
#define COS_2PIx16_F32   9.238795325e-01F
 
#define COS_3PIx16_F32   8.314696123e-01F
 
#define COS_4PIx16_F32   7.071067812e-01F
 
#define COS_5PIx16_F32   5.555702330e-01F
 
#define COS_6PIx16_F32   3.826834324e-01F
 
#define COS_7PIx16_F32   1.950903220e-01F
 
#define TWO_COS_1PIx4_F32   1.414213562e+00F
 
#define COS_1PIx4_F64   7.071067811865475244e-01
 
#define COS_1PIx8_F64   9.238795325112867561e-01
 
#define COS_2PIx8_F64   7.071067811865475244e-01
 
#define COS_3PIx8_F64   3.826834323650897717e-01
 
#define COS_1PIx16_F64   9.807852804032304491e-01
 
#define COS_2PIx16_F64   9.238795325112867561e-01
 
#define COS_3PIx16_F64   8.314696123025452371e-01
 
#define COS_4PIx16_F64   7.071067811865475244e-01
 
#define COS_5PIx16_F64   5.555702330196022248e-01
 
#define COS_6PIx16_F64   3.826834323650897717e-01
 
#define COS_7PIx16_F64   1.950903220161282679e-01
 
#define TWO_COS_1PIx4_F64   1.414213562373095049e+00
 
#define COS_1PIx4_F128   7.071067811865475243818940365159164685e-01L
 
#define COS_1PIx8_F128   9.238795325112867561014214079495587839e-01L
 
#define COS_2PIx8_F128   7.071067811865475243818940365159164685e-01L
 
#define COS_3PIx8_F128   3.826834323650897716961524763767954482e-01L
 
#define COS_1PIx16_F128   9.807852804032304491190993878113602022e-01L
 
#define COS_2PIx16_F128   9.238795325112867561014214079495587839e-01L
 
#define COS_3PIx16_F128   8.314696123025452370808655033762590847e-01L
 
#define COS_4PIx16_F128   7.071067811865475243818940365159164685e-01L
 
#define COS_5PIx16_F128   5.555702330196022247573058028269343822e-01L
 
#define COS_6PIx16_F128   3.826834323650897716961524763767954482e-01L
 
#define COS_7PIx16_F128   1.950903220161282678704779691702952960e-01L
 
#define TWO_COS_1PIx4_F128   1.414213562373095048763788073031832937e-01L
 
#define COS_1PIx4_Q15   0x5A82
 
#define COS_1PIx8_Q15   0x7642
 
#define COS_2PIx8_Q15   0x5A82
 
#define COS_3PIx8_Q15   0x30FC
 
#define COS_1PIx16_Q15   0x7D8A
 
#define COS_2PIx16_Q15   0x7642
 
#define COS_3PIx16_Q15   0x6A6E
 
#define COS_4PIx16_Q15   0x5A82
 
#define COS_5PIx16_Q15   0x471D
 
#define COS_6PIx16_Q15   0x30FC
 
#define COS_7PIx16_Q15   0x18F9
 
#define COS_1PIx4_Q31   0x5A82799A
 
#define COS_1PIx8_Q31   0x7641AF3D
 
#define COS_2PIx8_Q31   0x5A82799A
 
#define COS_3PIx8_Q31   0x30FBC54D
 
#define COS_1PIx16_Q31   0x7D8A5F40
 
#define COS_2PIx16_Q31   0x7641AF3D
 
#define COS_3PIx16_Q31   0x6A6D98A4
 
#define COS_4PIx16_Q31   0x5A82799A
 
#define COS_5PIx16_Q31   0x471CECE7
 
#define COS_6PIx16_Q31   0x30FBC54D
 
#define COS_7PIx16_Q31   0x18F8B83C
 
#define COS_1PIx4_Q63   0x5A827999FCEF3242LL
 
#define COS_1PIx8_Q63   0x7641AF3CCA3518A2LL
 
#define COS_2PIx8_Q63   0x5A827999FCEF3242LL
 
#define COS_3PIx8_Q63   0x30FBC54D5D52C5A3LL
 
#define COS_1PIx16_Q63   0x7D8A5F3FDD72C0ABLL
 
#define COS_2PIx16_Q63   0x7641AF3CCA3518A2LL
 
#define COS_3PIx16_Q63   0x6A6D98A43A868C0DLL
 
#define COS_4PIx16_Q63   0x5A827999FCEF3242LL
 
#define COS_5PIx16_Q63   0x471CECE6B9A321B2LL
 
#define COS_6PIx16_Q63   0x30FBC54D5D52C5A3LL
 
#define COS_7PIx16_Q63   0x18F8B83C69A60AB6LL
 

Macro Definition Documentation

◆ COS_1PIx16_F128

#define COS_1PIx16_F128   9.807852804032304491190993878113602022e-01L

◆ COS_1PIx16_F32

#define COS_1PIx16_F32   9.807852804e-01F

◆ COS_1PIx16_F64

#define COS_1PIx16_F64   9.807852804032304491e-01

◆ COS_1PIx16_Q15

#define COS_1PIx16_Q15   0x7D8A

◆ COS_1PIx16_Q31

#define COS_1PIx16_Q31   0x7D8A5F40

◆ COS_1PIx16_Q63

#define COS_1PIx16_Q63   0x7D8A5F3FDD72C0ABLL

◆ COS_1PIx4_F128

#define COS_1PIx4_F128   7.071067811865475243818940365159164685e-01L

◆ COS_1PIx4_F32

#define COS_1PIx4_F32   7.071067812e-01F

Function: Declarations of special cosine values

◆ COS_1PIx4_F64

#define COS_1PIx4_F64   7.071067811865475244e-01

◆ COS_1PIx4_Q15

#define COS_1PIx4_Q15   0x5A82

◆ COS_1PIx4_Q31

#define COS_1PIx4_Q31   0x5A82799A

◆ COS_1PIx4_Q63

#define COS_1PIx4_Q63   0x5A827999FCEF3242LL

◆ COS_1PIx8_F128

#define COS_1PIx8_F128   9.238795325112867561014214079495587839e-01L

◆ COS_1PIx8_F32

#define COS_1PIx8_F32   9.238795325e-01F

◆ COS_1PIx8_F64

#define COS_1PIx8_F64   9.238795325112867561e-01

◆ COS_1PIx8_Q15

#define COS_1PIx8_Q15   0x7642

◆ COS_1PIx8_Q31

#define COS_1PIx8_Q31   0x7641AF3D

◆ COS_1PIx8_Q63

#define COS_1PIx8_Q63   0x7641AF3CCA3518A2LL

◆ COS_2PIx16_F128

#define COS_2PIx16_F128   9.238795325112867561014214079495587839e-01L

◆ COS_2PIx16_F32

#define COS_2PIx16_F32   9.238795325e-01F

◆ COS_2PIx16_F64

#define COS_2PIx16_F64   9.238795325112867561e-01

◆ COS_2PIx16_Q15

#define COS_2PIx16_Q15   0x7642

◆ COS_2PIx16_Q31

#define COS_2PIx16_Q31   0x7641AF3D

◆ COS_2PIx16_Q63

#define COS_2PIx16_Q63   0x7641AF3CCA3518A2LL

◆ COS_2PIx8_F128

#define COS_2PIx8_F128   7.071067811865475243818940365159164685e-01L

◆ COS_2PIx8_F32

#define COS_2PIx8_F32   7.071067812e-01F

◆ COS_2PIx8_F64

#define COS_2PIx8_F64   7.071067811865475244e-01

◆ COS_2PIx8_Q15

#define COS_2PIx8_Q15   0x5A82

◆ COS_2PIx8_Q31

#define COS_2PIx8_Q31   0x5A82799A

◆ COS_2PIx8_Q63

#define COS_2PIx8_Q63   0x5A827999FCEF3242LL

◆ COS_3PIx16_F128

#define COS_3PIx16_F128   8.314696123025452370808655033762590847e-01L

◆ COS_3PIx16_F32

#define COS_3PIx16_F32   8.314696123e-01F

◆ COS_3PIx16_F64

#define COS_3PIx16_F64   8.314696123025452371e-01

◆ COS_3PIx16_Q15

#define COS_3PIx16_Q15   0x6A6E

◆ COS_3PIx16_Q31

#define COS_3PIx16_Q31   0x6A6D98A4

◆ COS_3PIx16_Q63

#define COS_3PIx16_Q63   0x6A6D98A43A868C0DLL

◆ COS_3PIx8_F128

#define COS_3PIx8_F128   3.826834323650897716961524763767954482e-01L

◆ COS_3PIx8_F32

#define COS_3PIx8_F32   3.826834324e-01F

◆ COS_3PIx8_F64

#define COS_3PIx8_F64   3.826834323650897717e-01

◆ COS_3PIx8_Q15

#define COS_3PIx8_Q15   0x30FC

◆ COS_3PIx8_Q31

#define COS_3PIx8_Q31   0x30FBC54D

◆ COS_3PIx8_Q63

#define COS_3PIx8_Q63   0x30FBC54D5D52C5A3LL

◆ COS_4PIx16_F128

#define COS_4PIx16_F128   7.071067811865475243818940365159164685e-01L

◆ COS_4PIx16_F32

#define COS_4PIx16_F32   7.071067812e-01F

◆ COS_4PIx16_F64

#define COS_4PIx16_F64   7.071067811865475244e-01

◆ COS_4PIx16_Q15

#define COS_4PIx16_Q15   0x5A82

◆ COS_4PIx16_Q31

#define COS_4PIx16_Q31   0x5A82799A

◆ COS_4PIx16_Q63

#define COS_4PIx16_Q63   0x5A827999FCEF3242LL

◆ COS_5PIx16_F128

#define COS_5PIx16_F128   5.555702330196022247573058028269343822e-01L

◆ COS_5PIx16_F32

#define COS_5PIx16_F32   5.555702330e-01F

◆ COS_5PIx16_F64

#define COS_5PIx16_F64   5.555702330196022248e-01

◆ COS_5PIx16_Q15

#define COS_5PIx16_Q15   0x471D

◆ COS_5PIx16_Q31

#define COS_5PIx16_Q31   0x471CECE7

◆ COS_5PIx16_Q63

#define COS_5PIx16_Q63   0x471CECE6B9A321B2LL

◆ COS_6PIx16_F128

#define COS_6PIx16_F128   3.826834323650897716961524763767954482e-01L

◆ COS_6PIx16_F32

#define COS_6PIx16_F32   3.826834324e-01F

◆ COS_6PIx16_F64

#define COS_6PIx16_F64   3.826834323650897717e-01

◆ COS_6PIx16_Q15

#define COS_6PIx16_Q15   0x30FC

◆ COS_6PIx16_Q31

#define COS_6PIx16_Q31   0x30FBC54D

◆ COS_6PIx16_Q63

#define COS_6PIx16_Q63   0x30FBC54D5D52C5A3LL

◆ COS_7PIx16_F128

#define COS_7PIx16_F128   1.950903220161282678704779691702952960e-01L

◆ COS_7PIx16_F32

#define COS_7PIx16_F32   1.950903220e-01F

◆ COS_7PIx16_F64

#define COS_7PIx16_F64   1.950903220161282679e-01

◆ COS_7PIx16_Q15

#define COS_7PIx16_Q15   0x18F9

◆ COS_7PIx16_Q31

#define COS_7PIx16_Q31   0x18F8B83C

◆ COS_7PIx16_Q63

#define COS_7PIx16_Q63   0x18F8B83C69A60AB6LL

◆ TWO_COS_1PIx4_F128

#define TWO_COS_1PIx4_F128   1.414213562373095048763788073031832937e-01L

◆ TWO_COS_1PIx4_F32

#define TWO_COS_1PIx4_F32   1.414213562e+00F

◆ TWO_COS_1PIx4_F64

#define TWO_COS_1PIx4_F64   1.414213562373095049e+00