Go to the source code of this file.
◆ M_PI
#define M_PI 3.141592653589793238462643 |
Definition at line 15 of file sin.c.
◆ PRECISION
Definition at line 14 of file sin.c.
◆ sin()
Definition at line 21 of file sin.c.
22{
23 int quadrant;
25
26
28
29
30 x =
x - quadrant * (
M_PI/2.);
31
32
33 quadrant = (quadrant - 1) & 0x3;
34
35
37
38
40
41
42
43
44
45
46
47
48
49
51
52#if (PRECISION >= 10)
53 result += 1./(1.*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20);
55#endif
56#if (PRECISION >= 9)
57 result += 1./(1.*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18);
59#endif
60#if (PRECISION >= 8)
61 result += 1./(1.*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16);
63#endif
64#if (PRECISION >= 7)
65 result += 1./(1.*2*3*4*5*6*7*8*9*10*11*12*13*14);
67#endif
68#if (PRECISION >= 6)
69 result += 1./(1.*2*3*4*5*6*7*8*9*10*11*12);
71#endif
72#if (PRECISION >= 5)
73 result += 1./(1.*2*3*4*5*6*7*8*9*10);
75#endif
76 result += 1./(1.*2*3*4*5*6*7*8);
78
79 result += 1./(1.*2*3*4*5*6);
81
84
87
89
90
92
94}
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLint GLint GLint GLint GLint x
static double sin_off_tbl[]
static double sin_sign_tbl[]
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
◆ sin_off_tbl
◆ sin_sign_tbl
double sin_sign_tbl[] = {1,-1,-1,1} |
|
static |