Home
last modified time | relevance | path

Searched refs:hy (Results 1 – 25 of 37) sorted by relevance

12

/sysdeps/ieee754/flt-32/
A De_fmodf.c30 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmodf() local
33 GET_FLOAT_WORD(hy,y); in __ieee754_fmodf()
36 hy &= 0x7fffffff; /* |y| */ in __ieee754_fmodf()
40 (hy>0x7f800000)) /* or y is NaN */ in __ieee754_fmodf()
43 if(hx==hy) in __ieee754_fmodf()
52 if(hy<0x00800000) { /* subnormal y */ in __ieee754_fmodf()
54 } else iy = (hy>>23)-127; in __ieee754_fmodf()
64 hy = 0x00800000|(0x007fffff&hy); in __ieee754_fmodf()
67 hy = hy<<n; in __ieee754_fmodf()
73 hz=hx-hy; in __ieee754_fmodf()
[all …]
A Ds_nextafterf.c28 int32_t hx,hy,ix,iy; in __nextafterf() local
31 GET_FLOAT_WORD(hy,y); in __nextafterf()
33 iy = hy&0x7fffffff; /* |y| */ in __nextafterf()
41 SET_FLOAT_WORD(x,(hy&0x80000000)|1);/* return +-minsubnormal */ in __nextafterf()
48 if(hx>hy) { /* x > y, x -= ulp */ in __nextafterf()
54 if(hy>=0||hx>hy){ /* x < y, x -= ulp */ in __nextafterf()
60 hy = hx&0x7f800000; in __nextafterf()
61 if(hy>=0x7f800000) { in __nextafterf()
66 if(hy<0x00800000) { in __nextafterf()
A Ds_remquof.c31 int32_t hx,hy; in __remquof() local
36 GET_FLOAT_WORD (hy, y); in __remquof()
38 qs = sx ^ (hy & 0x80000000); in __remquof()
39 hy &= 0x7fffffff; in __remquof()
43 if (hy == 0) in __remquof()
46 || (hy > 0x7f800000)) /* y is NaN */ in __remquof()
49 if (hy <= 0x7dffffff) in __remquof()
52 if ((hx - hy) == 0) in __remquof()
62 if (hy <= 0x7e7fffff && x >= 4 * y) in __remquof()
67 if (hy <= 0x7effffff && x >= 2 * y) in __remquof()
[all …]
A De_atan2f.c31 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2f() local
35 GET_FLOAT_WORD(hy,y); in __ieee754_atan2f()
36 iy = hy&0x7fffffff; in __ieee754_atan2f()
41 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */ in __ieee754_atan2f()
53 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2f()
74 if(iy==0x7f800000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2f()
/sysdeps/ieee754/dbl-64/
A De_fmod.c29 int64_t hx,hy,hz,sx,i; in __ieee754_fmod() local
32 EXTRACT_WORDS64(hy,y); in __ieee754_fmod()
35 hy &= UINT64_C(0x7fffffffffffffff); /* |y| */ in __ieee754_fmod()
38 if(__builtin_expect(hy==0 in __ieee754_fmod()
43 if(__builtin_expect(hx<=hy, 0)) { in __ieee754_fmod()
44 if(hx<hy) return x; /* |x|<|y| return x */ in __ieee754_fmod()
57 } else iy = (hy>>52)-1023; in __ieee754_fmod()
67 hy = UINT64_C(0x0010000000000000)|(UINT64_C(0x000fffffffffffff)&hy); in __ieee754_fmod()
70 hy<<=n; in __ieee754_fmod()
76 hz=hx-hy; in __ieee754_fmod()
[all …]
A Ds_remquo.c31 int64_t hx, hy; in __remquo() local
36 EXTRACT_WORDS64 (hy, y); in __remquo()
38 qs = sx ^ (hy & UINT64_C(0x8000000000000000)); in __remquo()
39 hy &= UINT64_C(0x7fffffffffffffff); in __remquo()
43 if (__glibc_unlikely (hy == 0)) in __remquo()
49 if (hy <= UINT64_C(0x7fbfffffffffffff)) in __remquo()
52 if (__glibc_unlikely (hx == hy)) in __remquo()
59 INSERT_WORDS64 (y, hy); in __remquo()
62 if (hy <= UINT64_C(0x7fcfffffffffffff) && x >= 4 * y) in __remquo()
67 if (hy <= UINT64_C(0x7fdfffffffffffff) && x >= 2 * y) in __remquo()
[all …]
/sysdeps/ieee754/ldbl-128/
A Ds_nextafterl.c34 int64_t hx,hy,ix,iy; in __nextafterl() local
38 GET_LDOUBLE_WORDS64(hy,ly,y); in __nextafterl()
40 iy = hy&0x7fffffffffffffffLL; /* |y| */ in __nextafterl()
48 SET_LDOUBLE_WORDS64(x,hy&0x8000000000000000ULL,1);/* return +-minsubnormal */ in __nextafterl()
55 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ in __nextafterl()
63 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */ in __nextafterl()
71 hy = hx&0x7fff000000000000LL; in __nextafterl()
72 if(hy==0x7fff000000000000LL) { in __nextafterl()
77 if(hy==0) { in __nextafterl()
A Ds_remquol.c31 int64_t hx,hy; in __remquol() local
36 GET_LDOUBLE_WORDS64 (hy, ly, y); in __remquol()
38 qs = sx ^ (hy & 0x8000000000000000ULL); in __remquol()
39 hy &= 0x7fffffffffffffffLL; in __remquol()
43 if ((hy | ly) == 0) in __remquol()
47 && (((hy - 0x7fff000000000000LL) | ly) != 0))) in __remquol()
50 if (hy <= 0x7ffbffffffffffffLL) in __remquol()
53 if (((hx - hy) | (lx - ly)) == 0) in __remquol()
63 if (hy <= 0x7ffcffffffffffffLL && x >= 4 * y) in __remquol()
68 if (hy <= 0x7ffdffffffffffffLL && x >= 2 * y) in __remquol()
[all …]
A De_fmodl.c29 int64_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmodl() local
33 GET_LDOUBLE_WORDS64(hy,ly,y); in __ieee754_fmodl()
36 hy &= 0x7fffffffffffffffLL; /* |y| */ in __ieee754_fmodl()
42 if(hx<=hy) { in __ieee754_fmodl()
59 if(hy==0) { in __ieee754_fmodl()
64 } else iy = (hy>>48)-0x3fff; in __ieee754_fmodl()
80 hy = 0x0001000000000000LL|(0x0000ffffffffffffLL&hy); in __ieee754_fmodl()
84 hy = (hy<<n)|(ly>>(64-n)); in __ieee754_fmodl()
87 hy = ly<<(n-64); in __ieee754_fmodl()
95 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in __ieee754_fmodl()
[all …]
A Ds_nexttowardf.c29 int64_t hy,iy; in __nexttowardf() local
33 GET_LDOUBLE_WORDS64(hy,ly,y); in __nexttowardf()
35 iy = hy&0x7fffffffffffffffLL; /* |y| */ in __nexttowardf()
44 SET_FLOAT_WORD(x,(uint32_t)((hy>>32)&0x80000000)|1);/* return +-minsub*/ in __nexttowardf()
63 hy = hx&0x7f800000; in __nexttowardf()
64 if(hy>=0x7f800000) { in __nexttowardf()
69 if(hy<0x00800000) { in __nexttowardf()
A Ds_totalordermagl.c30 uint64_t hx, hy; in __totalordermagl() local
33 GET_LDOUBLE_WORDS64 (hy, ly, *y); in __totalordermagl()
35 hy &= 0x7fffffffffffffffULL; in __totalordermagl()
43 && (hy > 0x7fff000000000000ULL || (hy == 0x7fff000000000000ULL in __totalordermagl()
47 hy ^= 0x0000800000000000ULL; in __totalordermagl()
50 return hx < hy || (hx == hy && lx <= ly); in __totalordermagl()
A Ds_nexttoward.c37 int64_t hy,iy; in __nexttoward() local
42 GET_LDOUBLE_WORDS64(hy,ly,y); in __nexttoward()
44 iy = hy&0x7fffffffffffffffLL; /* |y| */ in __nexttoward()
53 INSERT_WORDS(x,(uint32_t)((hy>>32)&0x80000000),1);/* return +-minsub */ in __nexttoward()
76 hy = hx&0x7ff00000; in __nexttoward()
77 if(hy>=0x7ff00000) { in __nexttoward()
82 if(hy<0x00100000) { in __nexttoward()
A Ds_totalorderl.c30 int64_t hx, hy; in __totalorderl() local
33 GET_LDOUBLE_WORDS64 (hy, ly, *y); in __totalorderl()
36 uint64_t uhy = hy & 0x7fffffffffffffffULL; in __totalorderl()
47 hy ^= 0x0000800000000000ULL; in __totalorderl()
51 uint64_t hy_sign = hy >> 63; in __totalorderl()
54 hy ^= hy_sign >> 1; in __totalorderl()
56 return hx < hy || (hx == hy && lx <= ly); in __totalorderl()
/sysdeps/ieee754/ldbl-128ibm/
A Ds_remquol.c31 int64_t hx,hy; in __remquol() local
40 EXTRACT_WORDS64 (hy, yhi); in __remquol()
43 qs = sx ^ (hy & 0x8000000000000000ULL); in __remquol()
44 ly ^= hy & 0x8000000000000000ULL; in __remquol()
45 hy &= 0x7fffffffffffffffLL; in __remquol()
50 if (hy == 0) in __remquol()
56 if (hy <= 0x7fbfffffffffffffLL) in __remquol()
59 if (((hx - hy) | (lx - ly)) == 0) in __remquol()
69 if (hy <= 0x7fcfffffffffffffLL && x >= 4 * y) in __remquol()
74 if (hy <= 0x7fdfffffffffffffLL && x >= 2 * y) in __remquol()
[all …]
A De_fmodl.c30 int64_t hx, hy, hz, sx, sy; in __ieee754_fmodl() local
39 EXTRACT_WORDS64 (hy, yhi); in __ieee754_fmodl()
44 hy ^= sy; /* |y| */ in __ieee754_fmodl()
47 if(__builtin_expect(hy==0 || in __ieee754_fmodl()
51 if (__glibc_unlikely (hx <= hy)) in __ieee754_fmodl()
54 if (hx < hy) in __ieee754_fmodl()
91 ldbl_extract_mantissa(&hy, &ly, &iy, y); in __ieee754_fmodl()
107 while ((hy & (1LL << 48)) == 0) in __ieee754_fmodl()
109 hy = (hy << 1) | (ly >> 63); in __ieee754_fmodl()
118 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in __ieee754_fmodl()
[all …]
A Ds_nexttowardf.c31 int64_t hy,iy; in __nexttowardf() local
36 EXTRACT_WORDS64 (hy, yhi); in __nexttowardf()
38 iy = hy&0x7fffffffffffffffLL; /* |y| */ in __nexttowardf()
47 SET_FLOAT_WORD(x,(uint32_t)((hy>>32)&0x80000000)|1);/* return +-minsub*/ in __nexttowardf()
66 hy = hx&0x7f800000; in __nexttowardf()
67 if(hy>=0x7f800000) { in __nexttowardf()
72 if(hy<0x00800000) { /* underflow */ in __nexttowardf()
A Ds_nexttoward.c38 int64_t hy,iy; in __nexttoward() local
44 EXTRACT_WORDS64(hy,yhi); in __nexttoward()
46 iy = hy&0x7fffffffffffffffLL; /* |y| */ in __nexttoward()
54 INSERT_WORDS(x,(uint32_t)((hy>>32)&0x80000000),1);/* return +-minsub */ in __nexttoward()
77 hy = hx&0x7ff00000; in __nexttoward()
78 if(hy>=0x7ff00000) { in __nexttoward()
83 if(hy<0x00100000) { in __nexttoward()
A Ds_totalordermagl.c29 int64_t hx, hy, lx, ly; in __totalordermagl() local
34 EXTRACT_WORDS64 (hy, yhi); in __totalordermagl()
39 uint64_t y_sign = hy & 0x8000000000000000ULL; in __totalordermagl()
41 hy ^= y_sign; in __totalordermagl()
42 if (hx < hy) in __totalordermagl()
44 else if (hx > hy) in __totalordermagl()
A De_atan2l.c58 int64_t k,m,hx,hy,ix,iy; in __ieee754_atan2l() local
67 EXTRACT_WORDS64 (hy, yhi); in __ieee754_atan2l()
68 iy = hy&0x7fffffffffffffffLL; in __ieee754_atan2l()
74 m = ((hy>>63)&1)|((hx>>62)&2); /* 2*sign(x)+sign(y) */ in __ieee754_atan2l()
86 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2l()
107 if(iy==0x7ff0000000000000LL) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2l()
/sysdeps/ieee754/ldbl-opt/
A Ds_nexttowardfd.c34 int32_t hx,hy,ix,iy; in __nldbl_nexttowardf() local
38 EXTRACT_WORDS(hy,ly,y); in __nldbl_nexttowardf()
40 iy = hy&0x7fffffff; /* |y| */ in __nldbl_nexttowardf()
48 SET_FLOAT_WORD(x,(uint32_t)(hy&0x80000000)|1);/* return +-minsub*/ in __nldbl_nexttowardf()
65 hy = hx&0x7f800000; in __nldbl_nexttowardf()
66 if(hy>=0x7f800000) { in __nldbl_nexttowardf()
71 if(hy<0x00800000) { in __nldbl_nexttowardf()
/sysdeps/ieee754/ldbl-96/
A Ds_nexttowardf.c28 uint32_t hy,ly,esy; in __nexttowardf() local
31 GET_LDOUBLE_WORDS(esy,hy,ly,y); in __nexttowardf()
36 (iy>=0x7fff&&((hy|ly)!=0))) /* y is nan */ in __nexttowardf()
60 hy = hx&0x7f800000; in __nexttowardf()
61 if(hy>=0x7f800000) { in __nexttowardf()
66 if(hy<0x00800000) { in __nexttowardf()
A Ds_nexttoward.c37 uint32_t lx,hy,ly,esy; in __nexttoward() local
40 GET_LDOUBLE_WORDS(esy,hy,ly,y); in __nexttoward()
45 ((iy>=0x7fff)&&(hy|ly)!=0)) /* y is nan */ in __nexttoward()
73 hy = hx&0x7ff00000; in __nexttoward()
74 if(hy>=0x7ff00000) { in __nexttoward()
79 if(hy<0x00100000) { in __nexttoward()
/sysdeps/i386/fpu/
A Ds_nexttowardf.c29 uint32_t hy,ly,esy; in __nexttowardf() local
32 GET_LDOUBLE_WORDS(esy,hy,ly,y); in __nexttowardf()
39 (iy>=0x7fff&&(((hy&0x7fffffff)|ly)!=0))) /* y is nan */ in __nexttowardf()
63 hy = hx&0x7f800000; in __nexttowardf()
64 if(hy>=0x7f800000) { in __nexttowardf()
69 if(hy<0x00800000) { in __nexttowardf()
A Ds_nexttoward.c38 uint32_t lx,hy,ly,esy; in __nexttoward() local
41 GET_LDOUBLE_WORDS(esy,hy,ly,y); in __nexttoward()
48 ((iy>=0x7fff)&&((hy&0x7fffffff)|ly)!=0)) /* y is nan */ in __nexttoward()
76 hy = hx&0x7ff00000; in __nexttoward()
77 if(hy>=0x7ff00000) { in __nexttoward()
82 if(hy<0x00100000) { in __nexttoward()
/sysdeps/m68k/m680x0/fpu/
A Ds_nextafterl.c34 uint32_t hx,hy,lx,ly; in __nextafterl() local
37 GET_LDOUBLE_WORDS(esy,hy,ly,y); in __nextafterl()
42 ((iy==0x7fff)&&((hy&0x7fffffff)|ly)!=0)) /* y is nan */ in __nextafterl()
52 if(esx>esy||((esx==esy) && (hx>hy||((hx==hy)&&(lx>ly))))) { in __nextafterl()
71 if(esy>=0||esx>esy||((esx==esy) && (hx>hy||((hx==hy)&&(lx>ly))))){ in __nextafterl()

Completed in 24 milliseconds

12