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-dev-f303 FastPWM3
FastMath/FastMath.h@51:b0a3ef66ea3d, 2019-05-08 (annotated)
- Committer:
- Rushu
- Date:
- Wed May 08 01:17:38 2019 +0000
- Revision:
- 51:b0a3ef66ea3d
- Parent:
- 0:4e1c4df6aabd
for as5147, included bang bang control
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 0:4e1c4df6aabd | 1 | #ifndef __FASTMATH_H |
benkatz | 0:4e1c4df6aabd | 2 | #define __FASTMATH_H |
benkatz | 0:4e1c4df6aabd | 3 | |
benkatz | 0:4e1c4df6aabd | 4 | #include "LUT.h" |
benkatz | 0:4e1c4df6aabd | 5 | |
benkatz | 0:4e1c4df6aabd | 6 | namespace FastMath{ |
benkatz | 0:4e1c4df6aabd | 7 | float FastSin(float theta); |
benkatz | 0:4e1c4df6aabd | 8 | float FastCos(float theta); |
Rushu | 51:b0a3ef66ea3d | 9 | int Sgn(float d); |
benkatz | 0:4e1c4df6aabd | 10 | }; |
benkatz | 0:4e1c4df6aabd | 11 | |
benkatz | 0:4e1c4df6aabd | 12 | #endif |