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.
Diff: FastAtan2.h
- Revision:
- 3:3f469f0aa3b4
- Parent:
- 2:8bff2a7afea1
--- a/FastAtan2.h Tue Jun 14 19:50:08 2016 +0000 +++ b/FastAtan2.h Wed Jun 15 13:19:26 2016 +0000 @@ -1,9 +1,9 @@ -/** - * FastAtan2.h - * - * Created on: 22 de may. de 2016 - * Author: Fede Pinna - */ +/**@file FastAtan2.h +* +* Computes the arctangent using Lagrange polynomial approximation with fixed-point arithmetic. +* +* +*/ #include "mbed.h" @@ -35,7 +35,7 @@ /** Calculates the arc tangent using fixed point q15 * @param x Coordinate -* @param y Coordinate +* @param y Coordinate * @returns * The function returns the principal arc tangent of y/x, in the interval [0,+pi/2] radians in format Q15 */ @@ -51,5 +51,8 @@ int32_t atan2_q15(int32_t x,int32_t y); +#endif /* FASTATAN2_H_ */ -#endif /* FASTATAN2_H_ */ +/** +* +*/ \ No newline at end of file