10 lines
222 B
C
10 lines
222 B
C
#ifndef FIXED_POINT_H
|
|
#define FIXED_POINT_H
|
|
|
|
/* Fixed Point Arithmetic bit count constants */
|
|
#define NUM_INT_BITS 11
|
|
#define NUM_FRAC_BITS 20
|
|
#define CONVERSION_CONST 1048576 /* f = 2^q, (2^20) */
|
|
|
|
#endif //FIXED_POINT_H
|