fmath.h
Go to the documentation of this file.
1 /*
2  * File: fmath.h
3  * Author: Chris Hajduk
4  *
5  * Created on April 12, 2014, 9:53 AM
6  */
7 
8 #ifndef FMATH_H
9 #define FMATH_H
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #include "main.h"
16 
17 #define SINE_TABLE_SIZE 256
18 
19 void initTrigLookup();
20 float lookup(int val);
21 float fSin(float val);
22 float fCos(float val);
23 float fTan(float val);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif /* FMATH_H */
30 
void initTrigLookup()
Definition: fmath.c:11
float lookup(int val)
Definition: fmath.c:18
float fTan(float val)
Definition: fmath.c:53
float fCos(float val)
Definition: fmath.c:49
float fSin(float val)
Definition: fmath.c:27