47{
48
49
50
51 const double large = 1.79769313486231570815e+308;
52
53#ifdef FAST_BUT_GREATER_THAN_ONE_ULP
55 unsigned long long xexp, yexp, ux, uy;
56#else
57 double u,
r,
retval, hx, tx,
x2, hy,
ty,
y2, hs, ts;
58 unsigned long long xexp, yexp, ux, uy, ut;
59#endif
60 int dexp, expadjust;
61
63 ux &= ~SIGNBIT_DP64;
65 uy &= ~SIGNBIT_DP64;
68
70 {
71
72
76
77
78
79
80 return infinity_with_flags(0);
81 else
82
83
85 }
86
87
90
91
92 dexp = (
int)(xexp - yexp);
93 expadjust = 0;
94
95 if (ux == 0)
96
98 else if (uy == 0)
99
102
105 {
106
107 expadjust = 600;
108 ux -= 0x2580000000000000;
110 uy -= 0x2580000000000000;
112 }
114 {
115
116 expadjust = -600;
117 if (xexp == 0)
118 {
119
120
122 x -= 9.23297861778573578076e-128;
124 }
125 else
126 {
127
128 ux += 0x2580000000000000;
130 }
131 if (yexp == 0)
132 {
134 y -= 9.23297861778573578076e-128;
136 }
137 else
138 {
139 uy += 0x2580000000000000;
141 }
142 }
143
144
145#ifdef FAST_BUT_GREATER_THAN_ONE_ULP
146
148#else
149
150
151
153 {
157 ut = ux;
158 ux = uy;
159 uy = ut;
160 }
161
162
165
168
169
173
174 if (dexp == 0)
175
176
177 ts = (((
x2 - hs) +
y2) +
178 ((hx * hx -
x2) + 2 * hx * tx) + tx * tx) +
179 ((hy * hy -
y2) + 2 * hy *
ty) +
ty *
ty;
180 else
181 ts = (((
x2 - hs) +
y2) +
182 ((hx * hx -
x2) + 2 * hx * tx) + tx * tx);
183
185#endif
186
187
188
190
191
192
194
196
199
double __cdecl _handle_error(char *fname, int opcode, unsigned long long value, int type, int flags, int error, double arg1, double arg2, int nargs)
Handles an error condition.
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
__m128d _mm_setzero_pd(void)
__m128d _mm_sqrt_sd(__m128d a, __m128d b)
__m128d _mm_load_sd(double const *dp)
void _mm_store_sd(double *dp, __m128d a)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLdouble GLdouble GLdouble r
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
#define EXPSHIFTBITS_DP64
#define GET_BITS_DP64(x, ux)
#define PUT_BITS_DP64(ux, x)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2