Lines Matching refs:x
33 scalbn (double x, int n) in scalbn() argument
36 EXTRACT_WORDS(hx,lx,x); in scalbn()
39 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */ in scalbn()
40 x *= two54; in scalbn()
41 GET_HIGH_WORD(hx,x); in scalbn()
43 if (n< -50000) return tiny*x; /*underflow*/ in scalbn()
45 if (k==0x7ff) return x+x; /* NaN or Inf */ in scalbn()
47 if (k > 0x7fe) return huge*copysign(huge,x); /* overflow */ in scalbn()
49 {SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20)); return x;} in scalbn()
53 return huge*copysign(huge,x); /*overflow*/ in scalbn()
55 return tiny*copysign(tiny,x); /*underflow*/ in scalbn()
59 SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20)); in scalbn()
60 return x*twom54; in scalbn()