Statistics
| Revision:

root / trunk / code / projects / fp_math / fp_math.h @ 1585

History | View | Annotate | Download (234 Bytes)

1

    
2
#ifndef _FP_MATH_H_
3
#define _FP_MATH_H_
4

    
5
#define FP_PI 205887
6

    
7
#include <stdint.h>
8

    
9
int32_t fp_cos(int32_t theta);
10
int32_t fp_sin(int32_t theta);
11

    
12
int32_t fp_mult(int32_t a, int32_t b);
13
int32_t fp_div(int32_t a, int32_t b);
14

    
15
#endif
16