Go to the documentation of this file.
85 static const double one = 1.0,
tiny = 1.0e-300;
97 if((ix0&0x7ff00000)==0x7ff00000) {
103 if(((ix0&(~sign))|ix1)==0)
return x;
112 ix0 |= (ix1>>11); ix1 <<= 21;
114 for(
i=0;(ix0&0x00100000)==0;
i++) ix0<<=1;
116 ix0 |= (ix1>>(32-
i));
120 ix0 = (ix0&0x000fffff)|0x00100000;
122 ix0 += ix0 + ((ix1&sign)>>31);
128 ix0 += ix0 + ((ix1&sign)>>31);
130 q = q1 =
s0 =
s1 = 0;
140 ix0 += ix0 + ((ix1&sign)>>31);
149 if((
t<ix0)||((
t==ix0)&&(
t1<=ix1))) {
151 if(((
t1&sign)==sign)&&(
s1&sign)==0)
s0 += 1;
153 if (ix1 <
t1) ix0 -= 1;
157 ix0 += ix0 + ((ix1&sign)>>31);
167 if (q1==(
u_int32_t)0xffffffff) { q1=0;
q += 1;}
175 ix0 = (
q>>1)+0x3fe00000;
177 if ((
q&1)==1) ix1 |= sign;
187 double sqrt(
double x)
190 if (_LIB_VERSION == _IEEE_ || isnan(
x))
193 return __kernel_standard(
x,
x, 26);
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
GLdouble GLdouble GLdouble GLdouble q
GLdouble GLdouble GLdouble r
#define EXTRACT_WORDS(ix0, ix1, d)
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat s1
#define strong_alias(x, y)
double attribute_hidden __ieee754_sqrt(double x)
GLint GLint GLint GLint GLint x
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat s0
#define INSERT_WORDS(d, ix0, ix1)
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)