HomeSort by relevance Sort by last modified time
    Searched refs:hy (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /bionic/libm/upstream-freebsd/lib/msun/src/
s_nextafterf.c 26 int32_t hx,hy,ix,iy; local
29 GET_FLOAT_WORD(hy,y);
31 iy = hy&0x7fffffff; /* |y| */
38 SET_FLOAT_WORD(x,(hy&0x80000000)|1);/* return +-minsubnormal */
43 if(hx>hy) { /* x > y, x -= ulp */
49 if(hy>=0||hx>hy){ /* x < y, x -= ulp */
55 hy = hx&0x7f800000;
56 if(hy>=0x7f800000) return x+x; /* overflow */
57 if(hy<0x00800000) { /* underflow *
    [all...]
e_fmodf.c 33 int32_t n,hx,hy,hz,ix,iy,sx,i; local
36 GET_FLOAT_WORD(hy,y);
39 hy &= 0x7fffffff; /* |y| */
42 if(hy==0||(hx>=0x7f800000)|| /* y=0,or x not finite */
43 (hy>0x7f800000)) /* or y is NaN */
45 if(hx<hy) return x; /* |x|<|y| return x */
46 if(hx==hy)
55 if(hy<0x00800000) { /* subnormal y */
56 for (iy = -126,i=(hy<<8); i>=0; i<<=1) iy -=1;
57 } else iy = (hy>>23)-127
    [all...]
s_copysign.c 28 u_int32_t hx,hy; local
30 GET_HIGH_WORD(hy,y);
31 SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
s_nextafter.c 32 int32_t hx,hy,ix,iy; local
36 EXTRACT_WORDS(hy,ly,y);
38 iy = hy&0x7fffffff; /* |y| */
45 INSERT_WORDS(x,hy&0x80000000,1); /* return +-minsubnormal */
50 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
58 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */
66 hy = hx&0x7ff00000
    [all...]
s_remquof.c 32 int32_t n,hx,hy,hz,ix,iy,sx,i; local
36 GET_FLOAT_WORD(hy,y);
37 sxy = (hx ^ hy) & 0x80000000;
40 hy &= 0x7fffffff; /* |y| */
43 if(hy==0||hx>=0x7f800000||hy>0x7f800000) /* y=0,NaN;or x not finite */
45 if(hx<hy) {
48 } else if(hx==hy) {
59 if(hy<0x00800000) { /* subnormal y */
60 for (iy = -126,i=(hy<<8); i>0; i<<=1) iy -=1
    [all...]
s_remquo.c 34 int32_t n,hx,hy,hz,ix,iy,sx,i; local
38 EXTRACT_WORDS(hy,ly,y);
39 sxy = (hx ^ hy) & 0x80000000;
42 hy &= 0x7fffffff; /* |y| */
45 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
46 ((hy|((ly|-ly)>>31))>0x7ff00000)) /* or y is NaN */
48 if(hx<=hy) {
49 if((hx<hy)||(lx<ly)) {
69 if(hy<0x00100000) { /* subnormal y */
70 if(hy==0)
    [all...]
e_fmod.c 31 int32_t n,hx,hy,hz,ix,iy,sx,i; local
35 EXTRACT_WORDS(hy,ly,y);
38 hy &= 0x7fffffff; /* |y| */
41 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
42 ((hy|((ly|-ly)>>31))>0x7ff00000)) /* or y is NaN */
44 if(hx<=hy) {
45 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
60 if(hy<0x00100000) { /* subnormal y */
61 if(hy==0) {
64 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1
    [all...]
e_atan2f.c 36 int32_t k,m,hx,hy,ix,iy; local
40 GET_FLOAT_WORD(hy,y);
41 iy = hy&0x7fffffff;
46 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
58 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
79 if(iy==0x7f800000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
s_cexp.c 43 uint32_t hx, hy, lx, ly; local
48 EXTRACT_WORDS(hy, ly, y);
49 hy &= 0x7fffffff;
52 if ((hy | ly) == 0)
59 if (hy >= 0x7ff00000) {
s_cexpf.c 43 uint32_t hx, hy; local
48 GET_FLOAT_WORD(hy, y);
49 hy &= 0x7fffffff;
52 if (hy == 0)
59 if (hy >= 0x7f800000) {
e_atan2.c 64 int32_t k,m,hx,hy,ix,iy; local
69 EXTRACT_WORDS(hy,ly,y);
70 iy = hy&0x7fffffff;
75 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
87 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
108 if(iy==0x7ff00000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
e_pow.c 102 int32_t hx,hy,ix,iy; local
106 EXTRACT_WORDS(hy,ly,y);
107 ix = hx&0x7fffffff; iy = hy&0x7fffffff;
146 return (hy>=0)? y: zero;
148 return (hy<0)?-y: zero;
151 if(hy<0) return one/x; else return x;
153 if(hy==0x40000000) return x*x; /* y is 2 */
154 if(hy==0x3fe00000) { /* y is 0.5 */
165 if(hy<0) z = one/z; /* z = (1/|x|) */
191 if(ix<=0x3fefffff) return (hy<0)? huge*huge:tiny*tiny
    [all...]
s_ccosh.c 53 int32_t hx, hy, ix, iy, lx, ly; local
59 EXTRACT_WORDS(hy, ly, y);
62 iy = 0x7fffffff & hy;
s_ccoshf.c 45 int32_t hx, hy, ix, iy; local
51 GET_FLOAT_WORD(hy, y);
54 iy = 0x7fffffff & hy;
s_csinh.c 53 int32_t hx, hy, ix, iy, lx, ly; local
59 EXTRACT_WORDS(hy, ly, y);
62 iy = 0x7fffffff & hy;
s_csinhf.c 45 int32_t hx, hy, ix, iy; local
51 GET_FLOAT_WORD(hy, y);
54 iy = 0x7fffffff & hy;
  /device/google/contexthub/lib/libm/
ef_fmod.c 37 __int32_t n,hx,hy,hz,ix,iy,sx,i; local
40 GET_FLOAT_WORD(hy,y);
43 hy &= 0x7fffffff; /* |y| */
46 if(FLT_UWORD_IS_ZERO(hy)||
48 FLT_UWORD_IS_NAN(hy))
50 if(hx<hy) return x; /* |x|<|y| return x */
51 if(hx==hy)
62 if(FLT_UWORD_IS_SUBNORMAL(hy)) { /* subnormal y */
63 for (iy = -126,i=(hy<<8); i>=0; i<<=1) iy -=1;
64 } else iy = (hy>>23)-127
    [all...]
ef_atan2.c 39 __int32_t k,m,hx,hy,ix,iy; local
43 GET_FLOAT_WORD(hy,y);
44 iy = hy&0x7fffffff;
49 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
61 if(FLT_UWORD_IS_ZERO(ix)) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
82 if(FLT_UWORD_IS_INFINITE(iy)) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
  /external/fdlibm/
s_nextafter.c 30 int hx,hy,ix,iy; local
35 hy = __HI(y); /* high word of y */
38 iy = hy&0x7fffffff; /* |y| */
45 __HI(x) = hy&0x80000000; /* return +-minsubnormal */
51 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
59 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */
67 hy = hx&0x7ff00000
    [all...]
e_fmod.c 35 int n,hx,hy,hz,ix,iy,sx,i; local
40 hy = __HI(y); /* high word of y */
44 hy &= 0x7fffffff; /* |y| */
47 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
48 ((hy|((ly|-ly)>>31))>0x7ff00000)) /* or y is NaN */
50 if(hx<=hy) {
51 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
66 if(hy<0x00100000) { /* subnormal y */
67 if(hy==0) {
70 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1
    [all...]
e_atan2.c 64 int k,m,hx,hy,ix,iy; local
69 hy = __HI(y); iy = hy&0x7fffffff;
75 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
87 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
108 if(iy==0x7ff00000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
e_pow.c 110 int hx,hy,ix,iy; local
115 hy = __HI(y); ly = __LO(y);
116 ix = hx&0x7fffffff; iy = hy&0x7fffffff;
152 return (hy>=0)? y: zero;
154 return (hy<0)?-y: zero;
157 if(hy<0) return one/x; else return x;
159 if(hy==0x40000000) return x*x; /* y is 2 */
160 if(hy==0x3fe00000) { /* y is 0.5 */
171 if(hy<0) z = one/z; /* z = (1/|x|) */
193 if(ix<=0x3fefffff) return (hy<0)? huge*huge:tiny*tiny
    [all...]
  /device/google/contexthub/firmware/external/freebsd/lib/msun/src/
e_atan2f.c 36 int32_t k,m,hx,hy,ix,iy; local
40 GET_FLOAT_WORD(hy,y);
41 iy = hy&0x7fffffff;
46 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
58 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
79 if(iy==0x7f800000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
  /frameworks/rs/driver/runtime/
rs_f16_math.c 22 short hx, hy; local
24 GET_HALF_WORD(hy, y);
26 SET_HALF_WORD(x, (hx & 0x7fff) | (hy & 0x8000));
119 short hx, hy, ix, iy; local
122 GET_HALF_WORD(hy, y);
124 iy = hy & 0x7fff; // |y|
132 SET_HALF_WORD(x, (hy & 0x8000) | 1);
137 if (hx > hy)
143 if (hy>= 0 || hx > hy)
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/
PolygonShape.java 83 * @param hy the half-height. */
84 public void setAsBox (float hx, float hy) {
85 jniSetAsBox(addr, hx, hy);
88 private native void jniSetAsBox (long addr, float hx, float hy); /*
90 poly->SetAsBox(hx, hy);
95 * @param hy the half-height.
98 public void setAsBox (float hx, float hy, Vector2 center, float angle) {
99 jniSetAsBox(addr, hx, hy, center.x, center.y, angle);
102 private native void jniSetAsBox (long addr, float hx, float hy, float centerX, float centerY, float angle); /*
104 poly->SetAsBox( hx, hy, b2Vec2( centerX, centerY ), angle )
    [all...]

Completed in 277 milliseconds

1 2 3 4