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: main.cpp
- Revision:
- 10:59c829586a4f
- Parent:
- 9:86c0035f5321
- Child:
- 11:286386c0db40
--- a/main.cpp Thu Dec 07 19:18:51 2017 +0000 +++ b/main.cpp Thu Dec 07 19:19:17 2017 +0000 @@ -39,7 +39,7 @@ 428, 454, 481, 509, 540, 572, 606, 642, 680, 720, 763, 809, 857, 908, 962, 1019, 1080, 1144, 1212, 1284, 1360, 1441, 1527, 1618, 1714}; const int attackLimit = (0x1 << 16) - 1; -#define U_PI 3.14159265358979f +#define U_PI 3.14159265358979 const int fixed2pi = (2.0 * U_PI) * (0x1 << 16l); //non-constants