Constants
Detailed Description
This group regroups all the constants you can use in your project.
|
Defines |
| #define | CST_E 2.718281828459045235360287471352662497757 |
| | E definition also known as the natural logarithmic base.
|
| #define | CST_INV_SQUARE_ROOT_2 0.70710678118654752440084436210485 |
| | 1/sqrt(2) definition
|
| #define | CST_LN_10 2.3025850929940456840179914546844 |
| | ln(10) definition
|
| #define | CST_LN_2 0.69314718055994530941723212145818 |
| | ln(2) definition
|
| #define | CST_PI 3.141592653589793238462643383279502884197 |
| | PI definition also known as the Archimedes' constant.
|
| #define | CST_SQUARE_ROOT_2 1.4142135623730950488016887242097 |
| | sqrt(2) definition
|
| #define | DSP16_PI_DIV_4 DSP16_Q(CST_PI/4.) |
| | PI/4 definition for the 16-bit fixed point type.
|
| #define | DSP32_PI_DIV_4 DSP32_Q(CST_PI/4.) |
| | PI/4 definition for the 32-bit fixed point type.
|
| #define | FALSE 0 |
| | Boolean FALSE constant.
|
| #define | TRUE 1 |
| | Boolean TRUE constant.
|
Define Documentation
| #define CST_E 2.718281828459045235360287471352662497757 |
E definition also known as the natural logarithmic base.
Definition at line 327 of file dsp_types.h.
| #define CST_INV_SQUARE_ROOT_2 0.70710678118654752440084436210485 |
| #define CST_LN_10 2.3025850929940456840179914546844 |
| #define CST_LN_2 0.69314718055994530941723212145818 |
| #define CST_PI 3.141592653589793238462643383279502884197 |
PI definition also known as the Archimedes' constant.
Definition at line 323 of file dsp_types.h.
| #define CST_SQUARE_ROOT_2 1.4142135623730950488016887242097 |
| #define DSP16_PI_DIV_4 DSP16_Q(CST_PI/4.) |
PI/4 definition for the 16-bit fixed point type.
Definition at line 349 of file dsp_types.h.
| #define DSP32_PI_DIV_4 DSP32_Q(CST_PI/4.) |
PI/4 definition for the 32-bit fixed point type.
Definition at line 353 of file dsp_types.h.