comparison src/cs/drivers/drv_app/r2d/r2d_cos.c @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 static const INT32 r2d_cos_table[91]={ /* Q16 format */
2 0x10000, /* 00 degrees */
3 0xFFF6, /* 01 degrees */
4 0xFFD8, /* 02 degrees */
5 0xFFA6, /* 03 degrees */
6 0xFF60, /* 04 degrees */
7 0xFF06, /* 05 degrees */
8 0xFE98, /* 06 degrees */
9 0xFE17, /* 07 degrees */
10 0xFD82, /* 08 degrees */
11 0xFCD9, /* 09 degrees */
12 0xFC1C, /* 10 degrees */
13 0xFB4B, /* 11 degrees */
14 0xFA67, /* 12 degrees */
15 0xF970, /* 13 degrees */
16 0xF865, /* 14 degrees */
17 0xF746, /* 15 degrees */
18 0xF615, /* 16 degrees */
19 0xF4D0, /* 17 degrees */
20 0xF378, /* 18 degrees */
21 0xF20D, /* 19 degrees */
22 0xF08F, /* 20 degrees */
23 0xEEFF, /* 21 degrees */
24 0xED5B, /* 22 degrees */
25 0xEBA6, /* 23 degrees */
26 0xE9DE, /* 24 degrees */
27 0xE803, /* 25 degrees */
28 0xE617, /* 26 degrees */
29 0xE419, /* 27 degrees */
30 0xE208, /* 28 degrees */
31 0xDFE7, /* 29 degrees */
32 0xDDB3, /* 30 degrees */
33 0xDB6F, /* 31 degrees */
34 0xD919, /* 32 degrees */
35 0xD6B3, /* 33 degrees */
36 0xD43B, /* 34 degrees */
37 0xD1B3, /* 35 degrees */
38 0xCF1B, /* 36 degrees */
39 0xCC73, /* 37 degrees */
40 0xC9BB, /* 38 degrees */
41 0xC6F3, /* 39 degrees */
42 0xC41B, /* 40 degrees */
43 0xC134, /* 41 degrees */
44 0xBE3E, /* 42 degrees */
45 0xBB39, /* 43 degrees */
46 0xB826, /* 44 degrees */
47 0xB504, /* 45 degrees */
48 0xB1D5, /* 46 degrees */
49 0xAE97, /* 47 degrees */
50 0xAB4C, /* 48 degrees */
51 0xA7F3, /* 49 degrees */
52 0xA48D, /* 50 degrees */
53 0xA11B, /* 51 degrees */
54 0x9D9B, /* 52 degrees */
55 0x9A10, /* 53 degrees */
56 0x9679, /* 54 degrees */
57 0x92D5, /* 55 degrees */
58 0x8F27, /* 56 degrees */
59 0x8B6D, /* 57 degrees */
60 0x87A8, /* 58 degrees */
61 0x83D9, /* 59 degrees */
62 0x8000, /* 60 degrees */
63 0x7C1C, /* 61 degrees */
64 0x782F, /* 62 degrees */
65 0x7438, /* 63 degrees */
66 0x7039, /* 64 degrees */
67 0x6C30, /* 65 degrees */
68 0x681F, /* 66 degrees */
69 0x6406, /* 67 degrees */
70 0x5FE6, /* 68 degrees */
71 0x5BBE, /* 69 degrees */
72 0x578E, /* 70 degrees */
73 0x5358, /* 71 degrees */
74 0x4F1B, /* 72 degrees */
75 0x4AD8, /* 73 degrees */
76 0x4690, /* 74 degrees */
77 0x4241, /* 75 degrees */
78 0x3DEE, /* 76 degrees */
79 0x3996, /* 77 degrees */
80 0x3539, /* 78 degrees */
81 0x30D8, /* 79 degrees */
82 0x2C74, /* 80 degrees */
83 0x280C, /* 81 degrees */
84 0x23A0, /* 82 degrees */
85 0x1F32, /* 83 degrees */
86 0x1AC2, /* 84 degrees */
87 0x164F, /* 85 degrees */
88 0x11DB, /* 86 degrees */
89 0x0D65, /* 87 degrees */
90 0x08EF, /* 88 degrees */
91 0x0477, /* 89 degrees */
92 0x0000, /* 90 degrees */
93 };