Project

General

Profile

Statistics
| Revision:

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

History | View | Annotate | Download (254 Bytes)

1

    
2
#ifndef _FP_MATH_H_
3
#define _FP_MATH_H_
4

    
5
#define FP_PI 205887
6
#define FP_E 178145
7

    
8
#include <stdint.h>
9

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

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

    
16
#endif
17