Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
Diff: math_ops.h
- Revision:
- 47:e1196a851f76
- Parent:
- 34:51647c6c500d
- Child:
- 48:74a40481740c
diff -r 2d4b1dafcfe3 -r e1196a851f76 math_ops.h --- a/math_ops.h Thu Jul 12 02:50:34 2018 +0000 +++ b/math_ops.h Wed Dec 05 04:07:46 2018 +0000 @@ -11,6 +11,7 @@ float fminf3(float x, float y, float z); float roundf(float x); void limit_norm(float *x, float *y, float limit); +void limit(float *x, float min, float max); int float_to_uint(float x, float x_min, float x_max, int bits); float uint_to_float(int x_int, float x_min, float x_max, int bits);