This file defines internal common data structures for all the modules.
More...
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
Go to the source code of this file.
This file defines internal common data structures for all the modules.
- Version
- 0.1 Sep 2018 : Initial Code
◆ TIADALG_PI
| #define TIADALG_PI (3.14159265358f) |
◆ mmax
| #define mmax |
( |
|
a, |
|
|
|
b |
|
) |
| (((a)>(b))?(a):(b)) |
◆ mmin
| #define mmin |
( |
|
a, |
|
|
|
b |
|
) |
| (((a)<(b))?(a):(b)) |
◆ msign
| #define msign |
( |
|
x | ) |
(x >= 0)?1:0 |
◆ SWAP_ME
| #define SWAP_ME |
( |
|
a, |
|
|
|
b |
|
) |
| a=a+b;b=a-b;a=a-b; |
◆ TIADALG_oneByXF32
| #define TIADALG_oneByXF32 |
( |
|
x | ) |
1/x |
◆ VXLIB_STATUS
| #define VXLIB_STATUS int32_t |
◆ VXLIB_SUCCESS
| #define VXLIB_SUCCESS (1) |
◆ VXLIB_ERR_FAILURE
| #define VXLIB_ERR_FAILURE (0) |
◆ VXLIB_F32
◆ VXLIB_D64
◆ addr_align()
| static size_t addr_align |
( |
void * |
addr, |
|
|
int32_t |
num_byte_align |
|
) |
| |
|
inlinestatic |