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 Hobbyking_Cheetah FastPWM3
Diff: math_ops.h
- Revision:
- 47:e1196a851f76
- Parent:
- 34:51647c6c500d
- Child:
- 48:74a40481740c
--- 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);