Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed X_NUCLEO_IHM02A1
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