/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_exp.c | 108 int32_t k=0,xsb; local 112 xsb = (hx>>31)&1; /* sign bit of x */ 122 else return (xsb==0)? x:0.0; /* exp(+-inf)={inf,0} */ 131 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; 133 k = (int)(invln2*x+halF[xsb]);
|
e_expf.c | 49 int32_t k=0,xsb; local 53 xsb = (hx>>31)&1; /* sign bit of x */ 61 return (xsb==0)? x:0.0; /* exp(+-inf)={inf,0} */ 69 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; 71 k = invln2*x+halF[xsb];
|
s_expm1.c | 136 int32_t k,xsb; local 140 xsb = hx&0x80000000; /* sign bit of x */ 151 else return (xsb==0)? x:-1.0;/* exp(+-inf)={inf,-1} */ 155 if(xsb!=0) { /* x < -56*ln2, return -1.0 with inexact */ 164 if(xsb==0) 169 k = invln2*x+((xsb==0)?0.5:-0.5);
|
s_expm1f.c | 45 int32_t k,xsb; local 49 xsb = hx&0x80000000; /* sign bit of x */ 58 return (xsb==0)? x:-1.0;/* exp(+-inf)={inf,-1} */ 61 if(xsb!=0) { /* x < -27*ln2, return -1.0 with inexact */ 70 if(xsb==0) 75 k = invln2*x+((xsb==0)?(float)0.5:(float)-0.5);
|
/external/fdlibm/ |
e_exp.c | 109 int k,xsb; local 113 xsb = (hx>>31)&1; /* sign bit of x */ 121 else return (xsb==0)? x:0.0; /* ieee_exp(+-inf)={inf,0} */ 130 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; 132 k = (int)(invln2*x+halF[xsb]);
|
s_expm1.c | 137 int k,xsb; local 141 xsb = hx&0x80000000; /* sign bit of x */ 142 if(xsb==0) y=x; else y= -x; /* y = |x| */ 151 else return (xsb==0)? x:-1.0;/* ieee_exp(+-inf)={inf,-1} */ 155 if(xsb!=0) { /* x < -56*ln2, return -1.0 with inexact */ 164 if(xsb==0) 169 k = invln2*x+((xsb==0)?0.5:-0.5);
|
/external/chromium_org/v8/third_party/fdlibm/ |
fdlibm.js | 626 var xsb = hx & 0x80000000; // Sign bit of x variable 627 var y = (xsb === 0) ? x : -x; // y = |x| 639 if (xsb != 0) return -1; // x < -56 * ln2, return -1. 645 if (xsb === 0) { 655 k = (INVLN2 * x + ((xsb === 0) ? 0.5 : -0.5)) | 0;
|