-
Notifications
You must be signed in to change notification settings - Fork 4
/
ffloat_sinLut.cs
55 lines (55 loc) · 3.27 KB
/
ffloat_sinLut.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
partial struct ffloat {
public static readonly int[] _sinLut = new int[] {
0x0, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70,
0x80, 0x90, 0xA0, 0xB0, 0xC0, 0xD0, 0xE0, 0xF0,
0x100, 0x110, 0x120, 0x130, 0x140, 0x150, 0x160, 0x170,
0x180, 0x190, 0x1A0, 0x1B0, 0x1C0, 0x1D0, 0x1E0, 0x1F0,
0x200, 0x210, 0x21F, 0x22F, 0x23F, 0x24F, 0x25F, 0x26F,
0x27F, 0x28F, 0x29E, 0x2AE, 0x2BE, 0x2CE, 0x2DE, 0x2ED,
0x2FD, 0x30D, 0x31D, 0x32C, 0x33C, 0x34C, 0x35B, 0x36B,
0x37B, 0x38A, 0x39A, 0x3AA, 0x3B9, 0x3C9, 0x3D9, 0x3E8,
0x3F8, 0x407, 0x417, 0x426, 0x436, 0x445, 0x455, 0x464,
0x473, 0x483, 0x492, 0x4A2, 0x4B1, 0x4C0, 0x4D0, 0x4DF,
0x4EE, 0x4FD, 0x50D, 0x51C, 0x52B, 0x53A, 0x549, 0x559,
0x568, 0x577, 0x586, 0x595, 0x5A4, 0x5B3, 0x5C2, 0x5D1,
0x5E0, 0x5EF, 0x5FE, 0x60C, 0x61B, 0x62A, 0x639, 0x648,
0x656, 0x665, 0x674, 0x682, 0x691, 0x6A0, 0x6AE, 0x6BD,
0x6CB, 0x6DA, 0x6E8, 0x6F7, 0x705, 0x714, 0x722, 0x730,
0x73F, 0x74D, 0x75B, 0x76A, 0x778, 0x786, 0x794, 0x7A2,
0x7B0, 0x7BE, 0x7CC, 0x7DA, 0x7E8, 0x7F6, 0x804, 0x812,
0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