otamesi
Dependencies: mbed
Diff: Math.h
- Revision:
- 18:2a47ed430cfe
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Math.h Fri Nov 23 09:31:07 2018 +0000 @@ -0,0 +1,10 @@ +#ifndef INCLUDED_MATH_H +#define INCLUDED_MATH_H + +extern const float gPI; + +float convertRange( float in, float oldMin, float oldMax, float newMin, float newMax ); +float convertRangePlusMinusPi( float deg ); +bool isNear( float a, float b, float error ); + +#endif