/sysdeps/ieee754/ldbl-128ibm/ |
A 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() 63 xl = 0; in __roundl() 68 lo = round (xl); in __roundl() 71 if (xh > 0 && xl < 0) in __roundl() 72 xl = lo + 1; in __roundl() 74 xl = lo - 1; in __roundl() 76 xl = lo; in __roundl() 79 xl = lo; in __roundl() [all …]
|
A 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()
|
A 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() 112 xl = lo; in __rintl() 113 ldbl_canonicalize (&xh, &xl); in __rintl() 121 math_force_eval (xl); in __rintl() [all …]
|
A 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()
|
A 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()
|
A 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()
|
A 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 …]
|
A 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 …]
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
/sysdeps/powerpc/fpu/ |
A 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()
|
A 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()
|
/sysdeps/ieee754/ldbl-128/ |
A 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()
|