<libq.h> Mathematical Functions

The header file libq.h consists of macro definitions and various functions that calculate fixed-point mathematical operations.

Q15 Functions: Many of these functions use fixed-point Q15 (1.15) format. For each function, the entire range may not be used.

Q16 Functions: Many of these functions use fixed-point Q16 (15.16) format. For each function, the entire range may not be used.