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: sin_table.hpp
- Revision:
- 0:780646889745
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sin_table.hpp Tue Jan 15 17:27:09 2013 +0000
@@ -0,0 +1,56 @@
+
+#define SIN_TABLE_SIZE 25
+double SIN[SIN_TABLE_SIZE] = {
+0,
+0.248689887165,
+0.481753674102,
+0.684547105929,
+0.844327925502,
+0.951056516295,
+0.998026728428,
+0.982287250729,
+0.904827052466,
+0.770513242776,
+0.587785252292,
+0.368124552685,
+0.125333233564,
+-0.125333233564,
+-0.368124552685,
+-0.587785252292,
+-0.770513242776,
+-0.904827052466,
+-0.982287250729,
+-0.998026728428,
+-0.951056516295,
+-0.844327925502,
+-0.684547105929,
+-0.481753674102,
+-0.248689887165
+};
+double COS[SIN_TABLE_SIZE] = {
+1,
+0.968583161129,
+0.876306680044,
+0.728968627421,
+0.535826794979,
+0.309016994375,
+0.062790519529,
+-0.187381314586,
+-0.425779291565,
+-0.637423989749,
+-0.809016994375,
+-0.929776485888,
+-0.992114701314,
+-0.992114701314,
+-0.929776485888,
+-0.809016994375,
+-0.637423989749,
+-0.425779291565,
+-0.187381314586,
+0.062790519529,
+0.309016994375,
+0.535826794979,
+0.728968627421,
+0.876306680044,
+0.968583161129
+};
\ No newline at end of file