Rev 1320 | Rev 1344 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1320 | Rev 1328 | ||
---|---|---|---|
1 | #ifndef _MYMATH_H |
1 | #ifndef _MYMATH_H |
2 | #define _MYMATH_H |
2 | #define _MYMATH_H |
3 | 3 | ||
4 | #include <inttypes.h> |
4 | #include <inttypes.h> |
5 | 5 | ||
6 | extern int16_t c_sin_8192(int16_t angle); |
6 | extern int16_t c_sin_8192(int16_t angle); |
7 | extern int16_t c_cos_8192(int16_t angle); |
7 | extern int16_t c_cos_8192(int16_t angle); |
8 | extern int16_t c_atan2(int16_t y, int16_t x); |
8 | extern int16_t c_atan2(int16_t y, int16_t x); |
9 | extern uint32_t c_sqrt(uint32_t a); |
9 | extern uint32_t c_sqrt(uint32_t a); |
10 | - | ||
- | 10 | extern uint16_t c_sqrt_int(uint16_t a); |
|
11 | #endif // _MYMATH_H |
11 | #endif // _MYMATH_H |
12 | 12 |