63 #pragma warning ( disable : 4756 ) 72 dp_h[] = { 0.0, 5.84962487220764160156e-01,},
73 dp_l[] = { 0.0, 1.35003920212974897128e-08,},
81 L1 = 5.99999999999994648725e-01,
82 L2 = 4.28571428578550184252e-01,
83 L3 = 3.33333329818377432918e-01,
84 L4 = 2.72728123808534006489e-01,
85 L5 = 2.30660745775561754067e-01,
86 L6 = 2.06975017800338417784e-01,
87 P1 = 1.66666666666666019037e-01,
88 P2 = -2.77777777770155933842e-03,
89 P3 = 6.61375632143793436117e-05,
90 P4 = -1.65339022054652515390e-06,
91 P5 = 4.13813679705723846039e-08,
92 lg2 = 6.93147180559945286227e-01,
93 lg2_h = 6.93147182464599609375e-01,
94 lg2_l = -1.90465429995776804525e-09,
95 ovt = 8.0085662595372944372e-0017,
96 cp = 9.61796693925975554329e-01,
97 cp_h = 9.61796700954437255859e-01,
98 cp_l = -7.02846165095275826516e-09,
99 ivln2 = 1.44269504088896338700e+00,
105 double z,ax,z_h,z_l,p_h,p_l;
113 if (hx==0x3ff00000 && lx==0) {
122 if((iy|ly)==0)
return one;
125 if(ix > 0x7ff00000 || ((ix==0x7ff00000)&&(lx!=0)) ||
126 iy > 0x7ff00000 || ((iy==0x7ff00000)&&(ly!=0)))
136 if(iy>=0x43400000) yisint = 2;
137 else if(iy>=0x3ff00000) {
141 if((j<<(52-k))==ly) yisint = 2-(j&1);
144 if((j<<(20-k))==iy) yisint = 2-(j&1);
151 if (iy==0x7ff00000) {
152 if (((ix-0x3ff00000)|lx)==0)
154 if (ix >= 0x3ff00000)
155 return (hy>=0) ?
y :
zero;
157 return (hy<0) ? -
y :
zero;
160 if(hy<0)
return one/
x;
else return x;
162 if(hy==0x40000000)
return x*
x;
172 if(ix==0x7ff00000||ix==0||ix==0x3ff00000){
176 if(((ix-0x3ff00000)|yisint)==0) {
186 if(((((
u_int32_t)hx>>31)-1)|yisint)==0)
return (x-x)/(x-
x);
200 w = (t*
t)*(0.5-t*(0.3333333333333333333333-t*0.25));
207 double s2,s_h,s_l,t_h,t_l;
212 n += ((ix)>>20)-0x3ff;
217 else if(j<0xBB67A) k=1;
218 else {k=0;n+=1;ix -= 0x00100000;}
230 t_l = ax - (t_h-bp[
k]);
231 s_l = v*((u-s_h*t_h)-s_h*t_l);
239 t_l = r-((t_h-3.0)-s2);
251 t1 = (((z_h+z_l)+
dp_h[k])+
t);
253 t2 = z_l-(((t1-
t)-
dp_h[k])-z_h);
257 if(((((
u_int32_t)hx>>31)-1)|(yisint-1))==0)
263 p_l = (y-
y1)*t1+y*t2;
268 if(((j-0x40900000)|i)!=0)
271 if(p_l+
ovt>z-p_h)
return s*huge*
huge;
273 }
else if((j&0x7fffffff)>=0x4090cc00 ) {
274 if(((j-0xc090cc00)|i)!=0)
277 if(p_l<=z-p_h)
return s*tiny*
tiny;
287 n = j+(0x00100000>>(k+1));
288 k = ((n&0x7fffffff)>>20)-0x3ff;
291 n = ((n&0x000fffff)|0x00100000)>>(20-
k);
303 r = (z*
t1)/(t1-
two)-(w+z*
w);
307 if((j>>20)<=0) z =
scalbn(z,n);
316 double pow(
double x,
double y)
319 if (_LIB_VERSION == _IEEE_|| isnan(y))
323 return __kernel_standard(
x, y, 42);
328 return __kernel_standard(
x, y, 20);
329 if (isfinite(y) && y < 0.0)
330 return __kernel_standard(
x,y,23);
334 if (isfinite(
x) && isfinite(y)) {
336 return __kernel_standard(
x, y, 24);
337 return __kernel_standard(
x, y, 21);
340 if (z == 0.0 && isfinite(
x) && isfinite(y))
341 return __kernel_standard(
x, y, 22);
#define GET_HIGH_WORD(i, d)
GLdouble GLdouble GLdouble r
double attribute_hidden __ieee754_pow(double x, double y)
static const double two53
static const double dp_l[]
GLint GLint GLint GLint GLint x
static const double ivln2_h
static const double lg2_l
#define strong_alias(x, y)
#define SET_HIGH_WORD(d, v)
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
static const double dp_h[]
#define SET_LOW_WORD(d, v)
#define EXTRACT_WORDS(ix0, ix1, d)
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display Drawable _Xconst char unsigned int unsigned int return Display Pixmap Pixmap XColor XColor unsigned int unsigned int return Display _Xconst char char int char return Display Visual unsigned int int int char unsigned int unsigned int int in j)
GLubyte GLubyte GLubyte GLubyte w
static const double lg2_h
GLint GLint GLint GLint GLint GLint y
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display Drawable _Xconst char unsigned int unsigned int return Display Pixmap Pixmap XColor XColor unsigned int unsigned int return Display _Xconst char char int char return Display Visual unsigned int int int char unsigned int unsigned int in i)
static const double ivln2_l
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display Drawable _Xconst char unsigned int unsigned int return Display Pixmap Pixmap XColor XColor unsigned int unsigned int return Display _Xconst char char int char return Display Visual unsigned int int int char unsigned int unsigned int int int return Display Window Cursor return Display Window return Display Drawable GC int int unsigned int unsigned int return Display Drawable GC int int _Xconst char int return Display Drawable GC int int unsigned int unsigned int return Display return Display Cursor return Display GC return XModifierKeymap return char Display Window int return Display return Display Atom return Display Window XWindowAttributes return Display Window return Display XEvent Bool(*) XPointer return Display Window Bool unsigned int int int Window Cursor Time return Display Window int return KeySym return Display _Xconst char Bool return Display _Xconst char return XKeyEvent char int KeySym XComposeStatus return Display int int int XVisualInfo return Display Window int int return _Xconst char return Display XEvent return Display Drawable GC XImage int int int int unsigned int unsigned int return Display Window Window Window int int int int unsigned int return Display Window Window int int return Display Window unsigned int unsigned int return Display Window Bool long XEvent return Display GC unsigned long return Display Window int Time return Display Window Window return Display Window unsigned long return Display Window XSizeHints Display Colormap XColor int return char int XTextProperty return XFontStruct _Xconst char int int int int XCharStruct return Display Window return Display Time return Display Colormap return Display Window Window int int unsigned int unsigned int int int return Display Window int return XExtensionInfo Display char XExtensionHooks int XPointer return XExtensionInfo XExtensionInfo Display return Display return Display unsigned long Display GC Display char long Display xReply int Bool return Display Bool return Display int SDL_X11_XESetEventToWireRetType return Display Window Window Window Window unsigned int return Display XShmSegmentInfo return Display Drawable GC XImage int int int int unsigned int unsigned int Boo k)
static const double ivln2