Home
last modified time | relevance | path

Searched refs:hz (Results 1 – 12 of 12) sorted by relevance

/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
88 hz = hx - hy; in fmodf()
89 if (hz < 0) { in fmodf()
92 if (hz == 0) /* return sign(x)*0 */ in fmodf()
94 hx = hz + hz; in fmodf()
97 hz = hx - hy; in fmodf()
98 if (hz >= 0) { in fmodf()
99 hx = hz; in fmodf()
Ds_fmod.c31 __int32_t n, hx, hy, hz, ix, iy, sx, i; in fmod64() local
110 hz = hx - hy; in fmod64()
113 hz -= 1; in fmod64()
114 if (hz < 0) { in fmod64()
118 if ((hz | lz) == 0) /* return sign(x)*0 */ in fmod64()
120 hx = hz + hz + (lz >> 31); in fmod64()
124 hz = hx - hy; in fmod64()
127 hz -= 1; in fmod64()
128 if (hz >= 0) { in fmod64()
129 hx = hz; in fmod64()
Dkf_cos.c29 float a, hz, z, r, qx; in __kernel_cosf() local
45 hz = (float)0.5 * z - qx; in __kernel_cosf()
47 return a - (hz - (z * r - x * y)); in __kernel_cosf()
Dk_cos.c65 __float64 a, hz, z, r, qx; in __kernel_cos() local
81 hz = _F_64(0.5) * z - qx; in __kernel_cos()
83 return a - (hz - (z * r - x * y)); in __kernel_cos()
/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
97 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl()
98 if(hz<0){hx = hx+hx+(lx>>63); lx = lx+lx;} in fmodl()
100 if((hz|lz)==0) /* return sign(x)*0 */ in fmodl()
102 hx = hz+hz+(lz>>63); lx = lz+lz; in fmodl()
105 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl()
106 if(hz>=0) {hx=hz;lx=lz;} in fmodl()
Ds_remquol.c53 int64_t hx,hz,hy,_hx; in remquol() local
115 hz=_hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol()
116 if(hz<0){_hx = _hx+_hx+(lx>>MANL_SHIFT); lx = lx+lx;} in remquol()
117 else {_hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; q++;} in remquol()
120 hz=_hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol()
121 if(hz>=0) {_hx=hz;lx=lz;q++;} in remquol()
Dk_cosl.c51 long double hz,z,r,w; in __kernel_cosl() local
56 hz = 0.5L*z; in __kernel_cosl()
57 w = (long double)one-hz; in __kernel_cosl()
58 return w + ((((long double)one-w)-hz) + (z*r-x*y)); in __kernel_cosl()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld80/
De_fmodl.c54 int64_t hx,hz; /* We need a carry bit even if LDBL_MANH_SIZE is 32. */ in fmodl() local
111 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl()
112 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} in fmodl()
114 if ((hz|lz)==0) /* return sign(x)*0 */ in fmodl()
116 hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; in fmodl()
119 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl()
120 if(hz>=0) {hx=hz;lx=lz;} in fmodl()
Ds_remquol.c51 int64_t hx,hz; /* We need a carry bit even if LDBL_MANH_SIZE is 32. */ in remquol() local
115 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol()
116 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} in remquol()
117 else {hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; q++;} in remquol()
120 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol()
121 if(hz>=0) {hx=hz;lx=lz;q++;} in remquol()
Dk_cosl.c67 long double hz,z,r,w; in __kernel_cosl() local
71 hz = 0.5l*z; in __kernel_cosl()
72 w = 1.0l-hz; in __kernel_cosl()
73 return w + (((1.0l-w)-hz) + (z*r-x*y)); in __kernel_cosl()
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Ds_remquo.c88 __int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo64() local
163 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquo64()
164 if(hz<0){hx = hx+hx+(lx>>31); lx = lx+lx;} in remquo64()
165 else {hx = hz+hz+(lz>>31); lx = lz+lz; q++;} in remquo64()
168 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquo64()
169 if(hz>=0) {hx=hz;lx=lz;q++;} in remquo64()
Dsf_remquo.c39 __int32_t n,hx,hy,hz,ix,iy,sx,i; in remquof() local
90 hz=hx-hy; in remquof()
91 if(hz<0) hx = hx << 1; in remquof()
92 else {hx = hz << 1; q++;} in remquof()
95 hz=hx-hy; in remquof()
96 if(hz>=0) {hx=hz;q++;} in remquof()