Home | History | Annotate | Download | only in noieee_src

Lines Matching defs:sqrt

36  * Some IEEE standard 754 recommended functions and remainder and sqrt for
42 * slow (in particular, drem and sqrt is extremely inefficient). Each
51 * sqrt(x)
270 sqrt(double x)
281 /* sqrt(NaN) is NaN, sqrt(+-0) = +-0 */
284 /* sqrt(negative) is invalid */
293 /* sqrt(INF) is INF */
304 /* generate sqrt(x) bit by bit (accumulating in q) */
427 /* SQRT
428 * RETURN CORRECTLY ROUNDED (ACCORDING TO THE ROUNDING MODE) SQRT
475 if(x!=x||x==0.0) return(x); /* sqrt(NaN) is NaN, sqrt(+-0) = +-0 */
476 if(x<0) return((x-x)/(x-x)); /* sqrt(negative) is invalid */
477 if((mx=px[n0]&mexp)==mexp) return(x); /* sqrt(+INF) is +INF */
500 /* triple to almost 56 sig. bits; now y approx. sqrt(x) to within 1 ulp */
511 b54+0.1; /* ..trigger inexact flag, sqrt(x) is inexact */
515 py[n0]=py[n0]-0x00100000; /* ...correctly rounded sqrt(x) */