/device/google/contexthub/lib/libm/ |
ef_asin.c | 48 __int32_t hx,ix; local 49 GET_FLOAT_WORD(hx,x); 50 ix = hx&0x7fffffff; 87 if(hx>0) return t; else return -t;
|
ef_rem_pio2.c | 107 __int32_t i,j,n,ix,hx; local 110 GET_FLOAT_WORD(hx,x); 111 ix = hx&0x7fffffff; 115 if(hx>0) { 171 if(hx<0) {y[0] = -y[0]; y[1] = -y[1]; return -n;} 191 if(hx<0) {y[0] = -y[0]; y[1] = -y[1]; return -n;}
|
/external/fdlibm/ |
e_acos.c | 68 int hx,ix; local 69 hx = __HI(x); 70 ix = hx&0x7fffffff; 73 if(hx>0) return 0.0; /* ieee_acos(1) = 0 */ 85 } else if (hx<0) { /* x < -0.5 */
|
e_asin.c | 77 int hx,ix; local 78 hx = __HI(x); 79 ix = hx&0x7fffffff; 113 if(hx>0) return t; else return -t;
|
e_exp.c | 110 unsigned hx; local 112 hx = __HI(x); /* high word of x */ 113 xsb = (hx>>31)&1; /* sign bit of x */ 114 hx &= 0x7fffffff; /* high word of |x| */ 117 if(hx >= 0x40862E42) { /* if |x|>=709.78... */ 118 if(hx>=0x7ff00000) { 119 if(((hx&0xfffff)|__LO(x))!=0) 128 if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */ 129 if(hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 */ 139 else if(hx < 0x3e300000) { /* when |x|<2**-28 * [all...] |
e_jn.c | 60 int i,hx,ix,lx, sgn; local 67 hx = __HI(x); 68 ix = 0x7fffffff&hx; 75 hx ^= 0x80000000; 79 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ 221 int i,hx,ix,lx; local 225 hx = __HI(x); 226 ix = 0x7fffffff&hx; 231 if(hx<0) return zero/zero;
|
e_log.c | 93 int k,hx,i,j; local 96 hx = __HI(x); /* high word of x */ 100 if (hx < 0x00100000) { /* x < 2**-1022 */ 101 if (((hx&0x7fffffff)|lx)==0) 103 if (hx<0) return (x-x)/zero; /* ieee_log(-#) = NaN */ 105 hx = __HI(x); /* high word of x */ 107 if (hx >= 0x7ff00000) return x+x; 108 k += (hx>>20)-1023; 109 hx &= 0x000fffff; 110 i = (hx+0x95f64)&0x100000 [all...] |
e_rem_pio2.c | 92 int e0,i,j,nx,n,ix,hx; local 94 hx = __HI(x); /* high word of x */ 95 ix = hx&0x7fffffff; 99 if(hx>0) { 152 if(hx<0) {y[0] = -y[0]; y[1] = -y[1]; return -n;} 173 if(hx<0) {y[0] = -y[0]; y[1] = -y[1]; return -n;}
|
s_expm1.c | 138 unsigned hx; local 140 hx = __HI(x); /* high word of x */ 141 xsb = hx&0x80000000; /* sign bit of x */ 143 hx &= 0x7fffffff; /* high word of |x| */ 146 if(hx >= 0x4043687A) { /* if |x|>=56*ln2 */ 147 if(hx >= 0x40862E42) { /* if |x|>=709.78... */ 148 if(hx>=0x7ff00000) { 149 if(((hx&0xfffff)|__LO(x))!=0) 162 if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */ 163 if(hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 * [all...] |
s_log1p.c | 107 int k,hx,hu,ax; local 109 hx = __HI(x); /* high word of x */ 110 ax = hx&0x7fffffff; 113 if (hx < 0x3FDA827A) { /* x < 0.41422 */ 125 if(hx>0||hx<=((int)0xbfd2bec3)) { 128 if (hx >= 0x7ff00000) return x+x; 130 if(hx<0x43400000) {
|
/external/skia/tests/ |
PathOpsSimplifyQuadThreadedTest.cpp | 37 int hx = h & 0x03; local 49 SkIntToScalar(hx), SkIntToScalar(hy)); 63 str += sprintf(str, " path.quadTo(%d, %d, %d, %d);\n", gx, gy, hx, hy);
|
PathOpsSimplifyQuadralateralsThreadedTest.cpp | 37 int hx = h & 0x03; local 49 path.lineTo(SkIntToScalar(hx), SkIntToScalar(hy)); 62 str += sprintf(str, " path.lineTo(%d, %d);\n", hx, hy);
|
/external/v8/src/third_party/fdlibm/ |
fdlibm.js | 65 var hx = %_DoubleHi(X); variable 66 var ix = hx & 0x7fffffff; 70 if (hx > 0) { 123 if (hx < 0) { 242 // 2. if x < 2^-28 (hx<0x3e300000 0), return x with inexact if x!=0. 286 var hx = %_DoubleHi(x); 287 var ix = hx & 0x7fffffff; 333 return (1 - ((hx >> 30) & 2)) * 479 var hx = %_DoubleHi(x); 480 var ax = hx & 0x7fffffff [all...] |
fdlibm.cc | 197 int32_t hx = static_cast<int32_t>(internal::double_to_uint64(x) >> 32); local 198 int32_t ix = hx & 0x7fffffff; 220 if (hx < 0) {
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
s_exp2l.c | 358 uint32_t hx, ix, i0; local 364 hx = u.xbits.expsign; 365 ix = hx & EXPMASK; 370 || (hx & 0x8000) == 0)
|
s_logl.c | 459 uint16_t hx; local 461 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); 467 if (hx == 0 || hx >= 0x8000) { /* zero, negative or subnormal? */ 468 if (((hx & 0x7fff) | lx | llx) == 0) 470 if (hx != 0) 474 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); 476 } else if (hx >= 0x7fff) 481 k += hx; 571 int16_t ax, hx; local [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_jn.c | 58 int32_t i,hx,ix,lx, sgn; local 65 EXTRACT_WORDS(hx,lx,x); 66 ix = 0x7fffffff&hx; 72 hx ^= 0x80000000; 76 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ 219 int32_t i,hx,ix,lx; local 223 EXTRACT_WORDS(hx,lx,x); 224 ix = 0x7fffffff&hx; 230 if(hx<0) return vzero/vzero;
|
catrig.c | 527 uint32_t hx, hy; local 534 GET_HIGH_WORD(hx, x); 535 ix = hx & 0x7ff00000;
|
catrigf.c | 317 uint32_t hx, hy; local 320 GET_FLOAT_WORD(hx, x); 321 ix = hx & 0x7f800000;
|
e_j0.c | 90 int32_t hx,ix; local 92 GET_HIGH_WORD(hx,x); 93 ix = hx&0x7fffffff; 151 int32_t hx,ix,lx; local 153 EXTRACT_WORDS(hx,lx,x); 154 ix = 0x7fffffff&hx; 164 if(hx<0) return vzero/vzero;
|
e_j0f.c | 51 int32_t hx,ix; local 53 GET_FLOAT_WORD(hx,x); 54 ix = hx&0x7fffffff; 112 int32_t hx,ix; local 114 GET_FLOAT_WORD(hx,x); 115 ix = 0x7fffffff&hx; 118 if(hx<0) return vzero/vzero;
|
e_j1.c | 91 int32_t hx,ix; local 93 GET_HIGH_WORD(hx,x); 94 ix = hx&0x7fffffff; 116 if(hx<0) return -z; 148 int32_t hx,ix,lx; local 150 EXTRACT_WORDS(hx,lx,x); 151 ix = 0x7fffffff&hx; 161 if(hx<0) return vzero/vzero;
|
e_j1f.c | 52 int32_t hx,ix; local 54 GET_FLOAT_WORD(hx,x); 55 ix = hx&0x7fffffff; 77 if(hx<0) return -z; 109 int32_t hx,ix; local 111 GET_FLOAT_WORD(hx,x); 112 ix = 0x7fffffff&hx; 115 if(hx<0) return vzero/vzero;
|
e_lgammaf_r.c | 126 int32_t hx; local 129 GET_FLOAT_WORD(hx,x); 133 ix = hx&0x7fffffff; 137 *signgamp = 1-2*((uint32_t)hx>>31); 145 if(hx<0) { 213 if(hx<0) r = nadj - r;
|
/external/skia/src/core/ |
SkColor.cpp | 82 SkFixed hx = (hsv[0] < 0 || hsv[0] >= SkIntToScalar(360)) ? 0 : SkScalarToFixed(hsv[0]/60); local 83 SkFixed f = hx & 0xFFFF; 92 SkASSERT((unsigned)(hx >> 16) < 6); 93 switch (hx >> 16) {
|