Guillaume Chauvon
/
Asserve12
asser1
Diff: math_precalc.h
- Revision:
- 1:0690cf83f060
- Parent:
- 0:6ca63d45f0ee
- Child:
- 2:5764f89a27f6
--- a/math_precalc.h Tue Dec 11 19:12:55 2018 +0000 +++ b/math_precalc.h Wed Dec 12 20:03:07 2018 +0000 @@ -1,11 +1,21 @@ #ifndef MATH_PRECALC_H #define MATH_PRECALC_H + +#define PI 3.1416 + float cos_precalc(int angle); float sin_precalc(int angle); double racine(long int a); double pow(long int a, long int b); +double abs(double a, double b); + +double diff_angle(double angle1, double angle2); + + +double borne_angle_d(double angle); +double borne_angle_r(double angle); #endif \ No newline at end of file