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.
sin_table.hpp@0:780646889745, 2013-01-15 (annotated)
- Committer:
- zl2cco
- Date:
- Tue Jan 15 17:27:09 2013 +0000
- Revision:
- 0:780646889745
StIl DRAFT
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| zl2cco | 0:780646889745 | 1 | |
| zl2cco | 0:780646889745 | 2 | #define SIN_TABLE_SIZE 25 |
| zl2cco | 0:780646889745 | 3 | double SIN[SIN_TABLE_SIZE] = { |
| zl2cco | 0:780646889745 | 4 | 0, |
| zl2cco | 0:780646889745 | 5 | 0.248689887165, |
| zl2cco | 0:780646889745 | 6 | 0.481753674102, |
| zl2cco | 0:780646889745 | 7 | 0.684547105929, |
| zl2cco | 0:780646889745 | 8 | 0.844327925502, |
| zl2cco | 0:780646889745 | 9 | 0.951056516295, |
| zl2cco | 0:780646889745 | 10 | 0.998026728428, |
| zl2cco | 0:780646889745 | 11 | 0.982287250729, |
| zl2cco | 0:780646889745 | 12 | 0.904827052466, |
| zl2cco | 0:780646889745 | 13 | 0.770513242776, |
| zl2cco | 0:780646889745 | 14 | 0.587785252292, |
| zl2cco | 0:780646889745 | 15 | 0.368124552685, |
| zl2cco | 0:780646889745 | 16 | 0.125333233564, |
| zl2cco | 0:780646889745 | 17 | -0.125333233564, |
| zl2cco | 0:780646889745 | 18 | -0.368124552685, |
| zl2cco | 0:780646889745 | 19 | -0.587785252292, |
| zl2cco | 0:780646889745 | 20 | -0.770513242776, |
| zl2cco | 0:780646889745 | 21 | -0.904827052466, |
| zl2cco | 0:780646889745 | 22 | -0.982287250729, |
| zl2cco | 0:780646889745 | 23 | -0.998026728428, |
| zl2cco | 0:780646889745 | 24 | -0.951056516295, |
| zl2cco | 0:780646889745 | 25 | -0.844327925502, |
| zl2cco | 0:780646889745 | 26 | -0.684547105929, |
| zl2cco | 0:780646889745 | 27 | -0.481753674102, |
| zl2cco | 0:780646889745 | 28 | -0.248689887165 |
| zl2cco | 0:780646889745 | 29 | }; |
| zl2cco | 0:780646889745 | 30 | double COS[SIN_TABLE_SIZE] = { |
| zl2cco | 0:780646889745 | 31 | 1, |
| zl2cco | 0:780646889745 | 32 | 0.968583161129, |
| zl2cco | 0:780646889745 | 33 | 0.876306680044, |
| zl2cco | 0:780646889745 | 34 | 0.728968627421, |
| zl2cco | 0:780646889745 | 35 | 0.535826794979, |
| zl2cco | 0:780646889745 | 36 | 0.309016994375, |
| zl2cco | 0:780646889745 | 37 | 0.062790519529, |
| zl2cco | 0:780646889745 | 38 | -0.187381314586, |
| zl2cco | 0:780646889745 | 39 | -0.425779291565, |
| zl2cco | 0:780646889745 | 40 | -0.637423989749, |
| zl2cco | 0:780646889745 | 41 | -0.809016994375, |
| zl2cco | 0:780646889745 | 42 | -0.929776485888, |
| zl2cco | 0:780646889745 | 43 | -0.992114701314, |
| zl2cco | 0:780646889745 | 44 | -0.992114701314, |
| zl2cco | 0:780646889745 | 45 | -0.929776485888, |
| zl2cco | 0:780646889745 | 46 | -0.809016994375, |
| zl2cco | 0:780646889745 | 47 | -0.637423989749, |
| zl2cco | 0:780646889745 | 48 | -0.425779291565, |
| zl2cco | 0:780646889745 | 49 | -0.187381314586, |
| zl2cco | 0:780646889745 | 50 | 0.062790519529, |
| zl2cco | 0:780646889745 | 51 | 0.309016994375, |
| zl2cco | 0:780646889745 | 52 | 0.535826794979, |
| zl2cco | 0:780646889745 | 53 | 0.728968627421, |
| zl2cco | 0:780646889745 | 54 | 0.876306680044, |
| zl2cco | 0:780646889745 | 55 | 0.968583161129 |
| zl2cco | 0:780646889745 | 56 | }; |