/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | s_roundl.c | 36 double xh, xl, hi, lo; in __roundl() local 38 ldbl_unpack (x, &xh, &xl); in __roundl() 54 if (xh > 0 && xl < 0) in __roundl() 56 else if (xh < 0 && xl > 0) in __roundl() 63 xl = 0; in __roundl() 68 lo = round (xl); in __roundl() 69 if (fabs (lo - xl) == 0.5) in __roundl() 71 if (xh > 0 && xl < 0) in __roundl() 72 xl = lo + 1; in __roundl() 74 xl = lo - 1; in __roundl() [all …]
|
D | s_rintl.c | 42 double xh, xl, hi, lo; in __rintl() local 44 ldbl_unpack (x, &xh, &xl); in __rintl() 74 ldbl_canonicalize (&xh, &xl); in __rintl() 81 ldbl_canonicalize (&xh, &xl); in __rintl() 86 if (xl > 0.0 && xh == 0.5) in __rintl() 88 else if (xl < 0.0 && -xh == 0.5) in __rintl() 98 if (xh < 0.0 || (xh == 0.0 && xl < 0.0)) in __rintl() 104 if (xh > 0.0 || (xh == 0.0 && xl > 0.0)) in __rintl() 112 xl = lo; in __rintl() 113 ldbl_canonicalize (&xh, &xl); in __rintl() [all …]
|
D | s_llrintl.c | 31 double xh, xl; in __llrintl() local 35 ldbl_unpack (x, &xh, &xl); in __llrintl() 66 ldbl_canonicalize (&xh, &xl); in __llrintl() 80 ldbl_canonicalize (&xh, &xl); in __llrintl() 88 && ((xh > 0.0 && xl < 0.0) in __llrintl() 89 || (xh < 0.0 && xl > 0.0) in __llrintl() 90 || (xl == 0.0 && (res & 1) == 0)))) in __llrintl() 100 if (res > 0 && (xh < 0.0 || (xh == 0.0 && xl < 0.0))) in __llrintl() 102 else if (res < 0 && (xh > 0.0 || (xh == 0.0 && xl > 0.0))) in __llrintl() 108 if (xh > 0.0 || (xh == 0.0 && xl > 0.0)) in __llrintl() [all …]
|
D | s_lrintl.c | 31 double xh, xl; in __lrintl() local 35 ldbl_unpack (x, &xh, &xl); in __lrintl() 81 ldbl_canonicalize (&xh, &xl); in __lrintl() 95 ldbl_canonicalize (&xh, &xl); in __lrintl() 103 && ((xh > 0.0 && xl < 0.0) in __lrintl() 104 || (xh < 0.0 && xl > 0.0) in __lrintl() 105 || (xl == 0.0 && (res & 1) == 0)))) in __lrintl() 115 if (res > 0 && (xh < 0.0 || (xh == 0.0 && xl < 0.0))) in __lrintl() 117 else if (res < 0 && (xh > 0.0 || (xh == 0.0 && xl > 0.0))) in __lrintl() 123 if (xh > 0.0 || (xh == 0.0 && xl > 0.0)) in __lrintl() [all …]
|
D | s_roundevenl.c | 27 double xh, xl, hi; in __roundevenl() local 29 ldbl_unpack (x, &xh, &xl); in __roundevenl() 43 if (xl < 0 && diff > 0) in __roundevenl() 45 else if (xl > 0 && diff < 0) in __roundevenl() 52 xl = 0; in __roundevenl() 60 xl = __roundeven (xl); in __roundevenl() 62 ldbl_canonicalize_int (&xh, &xl); in __roundevenl() 69 return ldbl_pack (xh, xl); in __roundevenl()
|
D | s_truncl.c | 35 double xh, xl, hi, lo; in __truncl() local 37 ldbl_unpack (x, &xh, &xl); in __truncl() 50 xl = 0; in __truncl() 55 lo = xh > 0 ? floor (xl) : ceil (xl); in __truncl() 57 xl = lo; in __truncl() 58 ldbl_canonicalize_int (&xh, &xl); in __truncl() 65 return ldbl_pack (xh, xl); in __truncl()
|
D | s_llroundl.c | 30 double xh, xl; in __llroundl() local 33 ldbl_unpack (x, &xh, &xl); in __llroundl() 62 ldbl_canonicalize (&xh, &xl); in __llroundl() 76 ldbl_canonicalize (&xh, &xl); in __llroundl() 85 if (xl > 0.0 || (xl == 0.0 && res >= 0)) in __llroundl() 94 if (xl < 0.0 || (xl == 0.0 && res <= 0)) in __llroundl()
|
D | s_lroundl.c | 30 double xh, xl; in __lroundl() local 33 ldbl_unpack (x, &xh, &xl); in __lroundl() 77 ldbl_canonicalize (&xh, &xl); in __lroundl() 91 ldbl_canonicalize (&xh, &xl); in __lroundl() 100 if (xl > 0.0 || (xl == 0.0 && res >= 0)) in __lroundl() 109 if (xl < 0.0 || (xl == 0.0 && res <= 0)) in __lroundl()
|
D | s_floorl.c | 33 double xh, xl, hi, lo; in __floorl() local 35 ldbl_unpack (x, &xh, &xl); in __floorl() 48 xl = 0; in __floorl() 53 lo = floor (xl); in __floorl() 55 xl = lo; in __floorl() 56 ldbl_canonicalize_int (&xh, &xl); in __floorl() 63 return ldbl_pack (xh, xl); in __floorl()
|
D | s_ceill.c | 33 double xh, xl, hi, lo; in __ceill() local 35 ldbl_unpack (x, &xh, &xl); in __ceill() 48 xl = 0; in __ceill() 53 lo = ceil (xl); in __ceill() 55 xl = lo; in __ceill() 56 ldbl_canonicalize_int (&xh, &xl); in __ceill() 63 return ldbl_pack (xh, xl); in __ceill()
|
D | e_expl.c | 150 long double n, xl; in __ieee754_expl() local 156 xl = n*M_LN2_1; in __ieee754_expl() 160 xl -= __expl_table[T_EXPL_ARG1+2*tval1+1]; in __ieee754_expl() 164 xl -= __expl_table[T_EXPL_ARG2+2*tval2+1]; in __ieee754_expl() 166 x = x + xl; in __ieee754_expl()
|
D | math_ldbl.h | 219 double xh, xl; in ldbl_canonicalize() local 222 xl = (*a - xh) + *aa; in ldbl_canonicalize() 224 *aa = xl; in ldbl_canonicalize()
|
/glibc-2.36/stdio-common/ |
D | _itowa.c | 201 mp_limb_t x, xh, xl; in _itowa() local 207 xl = (mp_limb_t) (value >> (32 - big_normalization_steps)); in _itowa() 208 udiv_qrnnd_preinv (x1hi, r, xh, xl, big_base_norm, in _itowa() 211 xl = ((mp_limb_t) value) << big_normalization_steps; in _itowa() 212 udiv_qrnnd_preinv (x1lo, x, r, xl, big_base_norm, in _itowa() 221 xl = x1lo << big_normalization_steps; in _itowa() 222 udiv_qrnnd_preinv (t[0], x, xh, xl, big_base_norm, in _itowa() 226 mp_limb_t x, xh, xl; in _itowa() local 232 xl = (mp_limb_t) (value >> 32 - big_normalization_steps); in _itowa() 233 udiv_qrnnd (x1hi, r, xh, xl, big_base_norm); in _itowa() [all …]
|
D | _itoa.c | 306 mp_limb_t x, xh, xl; in _itoa() local 312 xl = (mp_limb_t) (value >> (32 - big_normalization_steps)); in _itoa() 313 udiv_qrnnd_preinv (x1hi, r, xh, xl, big_base_norm, in _itoa() 316 xl = ((mp_limb_t) value) << big_normalization_steps; in _itoa() 317 udiv_qrnnd_preinv (x1lo, x, r, xl, big_base_norm, in _itoa() 326 xl = x1lo << big_normalization_steps; in _itoa() 327 udiv_qrnnd_preinv (t[0], x, xh, xl, big_base_norm, in _itoa() 331 mp_limb_t x, xh, xl; in _itoa() local 337 xl = (mp_limb_t) (value >> 32 - big_normalization_steps); in _itoa() 338 udiv_qrnnd (x1hi, r, xh, xl, big_base_norm); in _itoa() [all …]
|
/glibc-2.36/sysdeps/powerpc/fpu/ |
D | math_ldbl.h | 31 register double xl __asm__ ("fr2"); in ldbl_pack_ppc() 33 xl = aa; in ldbl_pack_ppc() 34 __asm__ ("" : "=f" (x) : "f" (xh), "f" (xl)); in ldbl_pack_ppc() 43 register double xl __asm__ ("fr2"); in ldbl_unpack_ppc() 45 __asm__ ("" : "=f" (xh), "=f" (xl) : "f" (x)); in ldbl_unpack_ppc() 47 *aa = xl; in ldbl_unpack_ppc()
|
D | s_logbl.c | 33 double xh, xl; in __logbl() local 41 ldbl_unpack (x, &xh, &xl); in __logbl() 66 EXTRACT_WORDS64 (lx, xl); in __logbl()
|
/glibc-2.36/soft-fp/ |
D | op-2.h | 155 #define __FP_CLZ_2(R, xh, xl) \ argument 162 __FP_CLZ ((R), xl); \ 171 # define __FP_FRAC_ADDI_2(xh, xl, i) \ 172 (xh += ((xl += i) < i)) 175 # define __FP_FRAC_ADD_2(rh, rl, xh, xl, yh, yl) \ 176 (rh = xh + yh + ((rl = xl + yl) < xl)) 179 # define __FP_FRAC_SUB_2(rh, rl, xh, xl, yh, yl) \ 180 (rh = xh - yh - ((rl = xl - yl) > xl)) 183 # define __FP_FRAC_DEC_2(xh, xl, yh, yl) \ 186 UWtype __FP_FRAC_DEC_2_t = xl; \ [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | e_expl.c | 142 _Float128 x22, n, t, result, xl; in __ieee754_expl() local 155 xl = n * M_LN2_1; in __ieee754_expl() 165 xl -= __expl_table[T_EXPL_ARG1+2*tval1+1]; in __ieee754_expl() 175 xl -= __expl_table[T_EXPL_ARG2+2*tval2+1]; in __ieee754_expl() 177 x = x + xl; in __ieee754_expl()
|
/glibc-2.36/stdlib/ |
D | longlong.h | 249 # define umul_ppmm(xh, xl, a, b) \ argument 266 "=r" ((USItype) (xl)), \ 273 # define umul_ppmm(xh, xl, a, b) \ argument 277 (xl) = (USItype)__t0; \ 410 #define smul_ppmm(xh, xl, m0, m1) \ argument 418 (xh) = __x.__i.__h; (xl) = __x.__i.__l; \ 432 #define smul_ppmm(xh, xl, m0, m1) \ argument 440 (xh) = __r0; (xl) = __r1; \ 664 #define umul_ppmm(xh, xl, a, b) \ argument 692 "=g" ((USItype) (xl)) \ [all …]
|