Home
last modified time | relevance | path

Searched refs:iy (Results 1 – 25 of 32) sorted by relevance

12

/picolibc-3.7.0-3.6.0/newlib/libm/math/
Dsf_fmod.c32 __int32_t n, hx, hy, hz, ix, iy, sx, i; in fmodf() local
66 for (iy = -126, i = (hy << 8); i >= 0; i <<= 1) in fmodf()
67 iy -= 1; in fmodf()
69 iy = (hy >> 23) - 127; in fmodf()
78 if (iy >= -126) in fmodf()
81 n = -126 - iy; in fmodf()
86 n = ix - iy; in fmodf()
107 iy -= 1; in fmodf()
109 if (iy >= -126) { /* normalize output */ in fmodf()
110 hx = ((hx - 0x00800000) | ((iy + 127) << 23)); in fmodf()
[all …]
Ds_fmod.c31 __int32_t n, hx, hy, hz, ix, iy, sx, i; in fmod64() local
72 for (iy = -1043, i = ly; i > 0; i <<= 1) in fmod64()
73 iy -= 1; in fmod64()
75 for (iy = -1022, i = (hy << 11); i > 0; i <<= 1) in fmod64()
76 iy -= 1; in fmod64()
79 iy = (hy >> 20) - 1023; in fmod64()
94 if (iy >= -1022) in fmod64()
97 n = -1022 - iy; in fmod64()
108 n = ix - iy; in fmod64()
139 iy -= 1; in fmod64()
[all …]
Dsf_atan2.c29 __int32_t k, m, hx, hy, ix, iy; in atan2f() local
34 iy = hy & 0x7fffffff; in atan2f()
35 if (FLT_UWORD_IS_NAN(ix) || FLT_UWORD_IS_NAN(iy)) /* x or y is NaN */ in atan2f()
42 if (FLT_UWORD_IS_ZERO(iy)) { in atan2f()
59 if (FLT_UWORD_IS_INFINITE(iy)) { in atan2f()
84 if (FLT_UWORD_IS_INFINITE(iy)) in atan2f()
88 k = (iy - ix) >> 23; in atan2f()
Ds_atan2.c57 __int32_t k, m, hx, hy, ix, iy; in atan264() local
63 iy = hy & 0x7fffffff; in atan264()
65 ((iy | ((ly | -ly) >> 31)) > 0x7ff00000)) /* x or y is NaN */ in atan264()
72 if ((iy | ly) == 0) { in atan264()
89 if (iy == 0x7ff00000) { in atan264()
114 if (iy == 0x7ff00000) in atan264()
118 k = (iy - ix) >> 20; in atan264()
Ds_pow.c103 __int32_t hx, hy, ix, iy; in pow64() local
109 iy = hy & 0x7fffffff; in pow64()
112 if ((iy | ly) == 0) { in pow64()
120 iy > 0x7ff00000 || ((iy == 0x7ff00000) && (ly != 0))) { in pow64()
134 if (iy >= 0x43400000) in pow64()
136 else if (iy >= 0x3ff00000) { in pow64()
137 k = (iy >> 20) - 0x3ff; /* exponent */ in pow64()
143 j = iy >> (20 - k); in pow64()
144 if ((j << (20 - k)) == iy) in pow64()
152 if (iy == 0x7ff00000) { /* y is +-inf */ in pow64()
[all …]
Dkf_tan.c37 __kernel_tanf(float x, float y, int iy) in __kernel_tanf() argument
46 if ((ix | (iy + 1)) == 0) in __kernel_tanf()
49 return (iy == 1) ? x : -one / x; in __kernel_tanf()
76 v = (float)iy; in __kernel_tanf()
80 if (iy == 1) in __kernel_tanf()
Dsf_pow.c62 __int32_t hx, hy, ix, iy, is; in powf() local
67 iy = hy & 0x7fffffff; in powf()
70 if (FLT_UWORD_IS_ZERO(iy)) { in powf()
77 if (FLT_UWORD_IS_NAN(ix) || FLT_UWORD_IS_NAN(iy)) { in powf()
91 if (iy >= 0x4b800000) in powf()
93 else if (iy >= 0x3f800000) { in powf()
94 k = (iy >> 23) - 0x7f; /* exponent */ in powf()
95 j = iy >> (23 - k); in powf()
96 if ((j << (23 - k)) == iy) in powf()
102 if (FLT_UWORD_IS_INFINITE(iy)) { /* y is +-inf */ in powf()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld128/
De_fmodl.c26 int64_t n,hx,hy,hz,ix,iy,sx,i; in fmodl() local
62 for (iy = -16431, i=ly; i>0; i<<=1) iy -=1; in fmodl()
64 for (iy = -16382, i=hy<<15; i>0; i<<=1) iy -=1; in fmodl()
66 } else iy = (hy>>48)-0x3fff; in fmodl()
81 if(iy >= -16382) in fmodl()
84 n = -16382-iy; in fmodl()
95 n = ix - iy; in fmodl()
113 iy -= 1; in fmodl()
115 if(iy>= -16382) { /* normalize output */ in fmodl()
116 hx = ((hx-0x0001000000000000LL)|((iy+16383)<<48)); in fmodl()
[all …]
Ds_nexttowardf.c19 int64_t hy,iy; in nexttowardf() local
25 iy = hy&0x7fffffffffffffffLL; /* |y| */ in nexttowardf()
31 if((iy>=0x7fff000000000000LL)&&((iy-0x7fff000000000000LL)|ly)!=0) { /* y is nan */ in nexttowardf()
Ds_remquol.c56 int ix,iy,n,q; in remquol() local
101 iy = (hy>>48) - (BIAS + 512); in remquol()
103 iy = (hy>>48) - BIAS; in remquol()
111 n = ix - iy; in remquol()
130 iy -= 1; in remquol()
133 if (iy < LDBL_MIN_EXP) { in remquol()
134 hx = (hx&0x0000ffffffffffffLL) | (uint64_t)(iy + BIAS + 512)<<48; in remquol()
139 hx = (hx&0x0000ffffffffffffLL) | (uint64_t)(iy + BIAS)<<48; in remquol()
Ds_nextafterl.c25 int64_t hx,hy,ix,iy; in nextafterl() local
31 iy = hy&0x7fffffffffffffffLL; /* |y| */ in nextafterl()
34 ((iy>=0x7fff000000000000LL)&&((iy-0x7fff000000000000LL)|ly)!=0)) /* y is nan */ in nextafterl()
Ds_nexttoward.c26 int64_t hy,iy; in nexttoward64() local
33 iy = hy&0x7fffffffffffffffLL; /* |y| */ in nexttoward64()
39 if((iy>=0x7fff000000000000LL)&&((iy-0x7fff000000000000LL)|ly)!=0) { /* y is nan */ in nexttoward64()
Dk_tanl.c63 __kernel_tanl(long double x, long double y, int iy) { in __kernel_tanl() argument
68 iy = (iy == 1 ? -1 : 1); /* XXX recover original interface */ in __kernel_tanl()
96 v = (long double) iy; in __kernel_tanl()
100 if (iy == 1) in __kernel_tanl()
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dsf_remquo.c39 __int32_t n,hx,hy,hz,ix,iy,sx,i; in remquof() local
69 for (iy = -126,i=(hy<<8); i>0; i<<=1) iy -=1; in remquof()
70 } else iy = (hy>>23)-127; in remquof()
79 if(iy >= -126) in remquof()
82 n = -126-iy; in remquof()
87 n = ix - iy; in remquof()
105 iy -= 1; in remquof()
107 if(iy>= -126) { /* normalize output */ in remquof()
108 hx = ((hx-0x00800000)|((iy+127)<<23)); in remquof()
110 n = -126 - iy; in remquof()
Ds_remquo.c88 __int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo64() local
127 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; in remquo64()
129 for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1; in remquo64()
131 } else iy = (hy>>20)-1023; in remquo64()
146 if(iy >= -1022) in remquo64()
149 n = -1022-iy; in remquo64()
160 n = ix - iy; in remquo64()
179 iy -= 1; in remquo64()
181 if(iy>= -1022) { /* normalize output */ in remquo64()
182 hx = ((hx-0x00100000)|((iy+1023)<<20)); in remquo64()
[all …]
Dsf_pow.c135 checkint (uint32_t iy) in checkint() argument
137 int e = iy >> 23 & 0xff; in checkint()
142 if (iy & (((uint32_t) 1 << (0x7f + 23 - e)) - 1)) in checkint()
144 if (iy & ((uint32_t) 1 << (0x7f + 23 - e))) in checkint()
159 uint32_t ix, iy; in powf() local
162 iy = asuint (y); in powf()
164 || zeroinfnan (iy), in powf()
168 if (__builtin_expect (zeroinfnan (iy), 0)) in powf()
170 if (2 * iy == 0) in powf()
174 if (2 * ix > 2u * (uint32_t) 0x7f800000 || 2 * iy > 2u * (uint32_t) 0x7f800000) in powf()
[all …]
Dsf_copysign.c31 __uint32_t ix,iy; local
33 GET_FLOAT_WORD(iy,y);
34 SET_FLOAT_WORD(x,(ix&0x7fffffff)|(iy&0x80000000));
Dpow.c278 checkint (uint64_t iy) in checkint() argument
280 int e = iy >> 52 & 0x7ff; in checkint()
285 if (iy & ((1ULL << (0x3ff + 52 - e)) - 1)) in checkint()
287 if (iy & (1ULL << (0x3ff + 52 - e))) in checkint()
303 uint64_t ix, iy; in pow() local
307 iy = asuint64 (y); in pow()
317 if (unlikely (zeroinfnan (iy))) in pow()
319 if (2 * iy == 0) in pow()
324 || 2 * iy > 2 * asuint64 ((double) INFINITY)) in pow()
328 if ((2 * ix < 2 * asuint64 (1.0)) == !(iy >> 63)) in pow()
[all …]
Ds_nextafter.c58 __int32_t hx,hy,ix,iy; in nextafter64() local
64 iy = hy&0x7fffffff; /* |y| */ in nextafter64()
67 ((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */ in nextafter64()
Dsf_nextafter.c20 __int32_t hx,hy,ix,iy; in nextafterf() local
25 iy = hy&0x7fffffff; /* |y| */ in nextafterf()
28 FLT_UWORD_IS_NAN(iy)) in nextafterf()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld80/
Ds_nextafterl.c25 u_int32_t hx,hy,ix,iy; in nextafterl() local
32 iy = esy&0x7fff; /* |y| */ in nextafterl()
35 ((iy==0x7fff)&&(((hy&0x7fffffff)|ly)!=0))) /* y is nan */ in nextafterl()
44 if(esy<0||(ix>iy||((ix==iy) && (hx>hy||((hx==hy)&&(lx>ly)))))) { in nextafterl()
59 if(esy>=0||(ix>iy||((ix==iy)&&(hx>hy||((hx==hy)&&(lx>ly)))))){ in nextafterl()
De_fmodl.c57 int ix,iy,n,sx; in fmodl() local
96 iy = uy.bits.ext_exp - (BIAS + 512); in fmodl()
98 iy = uy.bits.ext_exp - BIAS; in fmodl()
108 n = ix - iy; in fmodl()
127 iy -= 1; in fmodl()
131 if (iy < LDBL_MIN_EXP) { in fmodl()
132 ux.bits.ext_exp = iy + (BIAS + 512); in fmodl()
135 ux.bits.ext_exp = iy + BIAS; in fmodl()
Ds_remquol.c55 int ix,iy,n,q,sx,sxy; in remquol() local
101 iy = esy - (BIAS + 512); in remquol()
103 iy = esy - BIAS; in remquol()
111 n = ix - iy; in remquol()
130 iy -= 1; in remquol()
132 if (iy < LDBL_MIN_EXP) { in remquol()
133 esx = (iy + BIAS + 512) & 0x7fff; in remquol()
138 esx = (iy + BIAS) & 0x7fff; in remquol()
Dk_tanl.c71 __kernel_tanl(long double x, long double y, int iy) { in __kernel_tanl() argument
76 iy = (iy == 1 ? -1 : 1); /* XXX recover original interface */ in __kernel_tanl()
101 v = (long double) iy; in __kernel_tanl()
105 if (iy == 1) in __kernel_tanl()
Ds_nexttowardf.c18 int32_t hx,ix,iy; in nexttowardf() local
24 iy = esy&0x7fff; /* |y| */ in nexttowardf()
28 (iy>=0x7fff&&((hy|ly)!=0))) /* y is nan */ in nexttowardf()

12