/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | dla.h | 48 z=(x)+(y); zz=(fabs(x)>fabs(y)) ? (((x)-(z))+(y)) : (((y)-(z))+(x)); 56 z=(x)-(y); zz=(fabs(x)>fabs(y)) ? (((x)-(z))-(y)) : ((x)-((y)+(z))); 106 r = (x) + (y); s = (fabs (x) > fabs (y)) ? \ 119 r = (x) - (y); s = (fabs (x) > fabs (y)) ? \ 156 if (fabs (x) > fabs (y)) { rr = ((x) - r) + (y); s = (rr + (yy)) + (xx); } \ 161 ss = (fabs (xx) > fabs (yy)) ? (((xx) - s) + (yy)) : (((yy) - s) + (xx));\ 163 uu = (fabs (r) > fabs (s)) ? ((r - u) + s) : ((s - u) + r); \ 165 zz = (fabs (u) > fabs (w)) ? ((u - z) + w) : ((w - z) + u); } 177 if (fabs (x) > fabs (y)) { rr = ((x) - r) - (y); s = (rr - (yy)) + (xx); } \ 182 ss = (fabs (xx) > fabs (yy)) ? (((xx) - s) - (yy)) : ((xx) - ((yy) + s)); \ [all …]
|
D | e_remainder.c | 71 if (fabs (xx) > 0.5 * t.x) in __ieee754_remainder() 103 if (fabs (u.x) < 0.5 * t.x) in __ieee754_remainder() 106 if (fabs (u.x) > 0.5 * t.x) in __ieee754_remainder() 119 y = fabs (y) * t128.x; in __ieee754_remainder() 129 y = fabs (y); in __ieee754_remainder() 131 d = fabs (z); in __ieee754_remainder() 132 if (d <= fabs (d - y)) in __ieee754_remainder()
|
D | e_cosh.c | 56 t = __expm1(fabs(x)); in __ieee754_cosh() 62 t = __ieee754_exp(fabs(x)); in __ieee754_cosh() 67 if (ix < 0x40862e42) return half*__ieee754_exp(fabs(x)); in __ieee754_cosh() 74 w = __ieee754_exp(half*fabs(x)); in __ieee754_cosh()
|
D | s_sin.c | 107 u.x = big + fabs (x); in do_cos() 108 x = fabs (x) - (u.x - big) + dx; in do_cos() 128 if (fabs (x) < 0.126) in do_sin() 135 u.x = big + fabs (x); in do_sin() 136 x = fabs (x) - (u.x - big); in do_sin() 227 t = hp0 - fabs (x); in __sin() 290 y = hp0 - fabs (x); in __cos()
|
D | e_sinh.c | 71 t = __expm1 (fabs (x)); in __ieee754_sinh() 79 return h * __ieee754_exp (fabs (x)); in __ieee754_sinh() 85 w = __ieee754_exp (0.5 * fabs (x)); in __ieee754_sinh()
|
D | e_jn.c | 81 x = fabs (x); in __ieee754_jn() 205 tmp = tmp * __ieee754_log (fabs (v * tmp)); in __ieee754_jn() 241 if (fabs (z) >= fabs (w)) in __ieee754_jn()
|
/glibc-2.36/math/ |
D | libm-test-fabs.inc | 1 /* Test fabs. 23 TEST_f_f (fabs, 0, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), 24 TEST_f_f (fabs, minus_zero, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), 26 TEST_f_f (fabs, plus_infty, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), 27 TEST_f_f (fabs, minus_infty, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), 28 TEST_f_f (fabs, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED|TEST_NAN_SIGN), 29 TEST_f_f (fabs, -qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED|TEST_NAN_SIGN), 30 TEST_f_f (fabs, snan_value, snan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED|TEST_NAN_SIGN), 31 TEST_f_f (fabs, -snan_value, snan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED|TEST_NAN_SIGN), 33 TEST_f_f (fabs, min_subnorm_value, min_subnorm_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), [all …]
|
D | test-tgmath2.c | 163 TEST (fabs (vfloat1), float, fabs); in test_fabs() 164 TEST (fabs (vdouble1), double, fabs); in test_fabs() 165 TEST (fabs (vldouble1), ldouble, fabs); in test_fabs() 166 TEST (fabs (vint1), double, fabs); in test_fabs() 167 TEST (fabs (vllong1), double, fabs); in test_fabs() 168 TEST (fabs (vcfloat1), float, cabs); in test_fabs() 169 TEST (fabs (vcdouble1), double, cabs); in test_fabs() 170 TEST (fabs (vcldouble1), ldouble, cabs); in test_fabs() 171 TEST (fabs (Vfloat1), float, fabs); in test_fabs() 172 TEST (fabs (Vdouble1), double, fabs); in test_fabs() [all …]
|
D | bug-tgmath1.c | 32 TEST (fabs (1.0), sizeof (double)); in main() 33 TEST (fabs (1.0 + 1.0i), sizeof (double)); in main() 34 TEST (fabs (1.0l), sizeof (long double)); in main() 35 TEST (fabs (1.0l + 1.0li), sizeof (long double)); in main() 36 TEST (fabs (1.0f), sizeof (float)); in main() 37 TEST (fabs (1.0f + 1.0fi), sizeof (float)); in main()
|
D | w_atanh_compat.c | 29 if (__builtin_expect (isgreaterequal (fabs (x), 1.0), 0) in __atanh() 32 fabs (x) > 1.0 in __atanh()
|
/glibc-2.36/sysdeps/powerpc/fpu/ |
D | round_to_integer.h | 84 if (fabs (x) > 0x1p+23) in round_to_integer_float() 104 r = fabs (r); in round_to_integer_float() 112 r = -fabs (r); in round_to_integer_float() 126 if (fabs (x) > 0x1p+52) in round_to_integer_double() 139 r = fabs (r); in round_to_integer_double() 147 r = -fabs (r); in round_to_integer_double()
|
/glibc-2.36/sysdeps/i386/fpu/ |
D | e_pow.S | 110 fabs // |y| : y : x 130 fabs // |y| : y : x 154 fabs 159 fabs 163 fabs // |x| : x : ST*x 199 fabs // |x| : y 208 fabs // |x-1| : 0.29 : 1.0 : x : y 234 fabs // |y| : y : 2^fract(y*log2(x)) : int(y*log2(x)) 281 fabs // abs(x) : 1 316 fabs // |y| : y [all …]
|
D | i386-math-asm.h | 139 fabs; \ 155 fabs; \ 175 fabs; \ 191 fabs; \ 210 fabs; \ 228 fabs; \ 260 fabs; \ 275 fabs; \ 291 fabs; \
|
D | e_powl.S | 116 fabs // |y| : y : x 136 fabs // |y| : y : x 152 fabs // |y| : y : x 176 fabs 181 fabs 185 fabs // |x| : x : ST*x 229 fabs // |y| : y : x 273 fabs // abs(x) : 1 308 fabs // |y| : y 373 fabs // |y| : y
|
D | e_log.S | 42 fabs // |x-1| : x-1 : x : log(2) 52 fabs // log(1) is +0 in all rounding modes. 76 fabs // |x-1| : x-1 : x : log(2) 86 fabs // log(1) is +0 in all rounding modes.
|
D | e_logl.S | 46 fabs // |x-1| : x-1 : x : log(2) 56 fabs // log(1) is +0 in all rounding modes. 81 fabs // |x-1| : x-1 : x : log(2) 91 fabs // log(1) is +0 in all rounding modes.
|
/glibc-2.36/sysdeps/x86_64/fpu/ |
D | e_powl.S | 109 fabs // |y| : 1L<<63 : y : x 127 fabs // |y| : 0x1p-79 : y : x 143 fabs // |y| : 4 : y : x 164 fabs 169 fabs 173 fabs // |x| : x : ST*x 206 fabs // |y| : 1L<<78 : y : x 249 fabs // abs(x) : 1 289 fabs // |y| : 1L<<64 : y 359 fabs // |y| : 1L<<64 : y
|
D | e_log10l.S | 40 fabs // |x-1| : x-1 : x : log10(2) 50 fabs // log10(1) is +0 in all rounding modes. 74 fabs // |x-1| : x-1 : x : log10(2) 84 fabs // log10(1) is +0 in all rounding modes.
|
D | e_log2l.S | 40 fabs // |x-1| : x-1 : x : 1 50 fabs // log2(1) is +0 in all rounding modes. 74 fabs // |x-1| : x-1 : x : 1 84 fabs // log2(1) is +0 in all rounding modes.
|
D | e_logl.S | 43 fabs // |x-1| : x-1 : x : log(2) 53 fabs // log(1) is +0 in all rounding modes. 77 fabs // |x-1| : x-1 : x : log(2) 87 fabs // log(1) is +0 in all rounding modes.
|
/glibc-2.36/sysdeps/powerpc/powerpc32/fpu/ |
D | s_llround.c | 60 double ax = fabs (x); in __llround() 74 ax = -fabs (ax); in __llround() 85 if (fabs (x) < 0x1p31) in __llround() 112 if (!(fabs (x) < 0x1p52)) in __llround()
|
D | s_lround.c | 45 double ax = fabs (x); in __lround() 61 ax = -fabs (ax); in __lround()
|
/glibc-2.36/sysdeps/i386/i686/fpu/ |
D | e_logl.S | 45 fabs // |x-1| : x-1 : x : log(2) 55 fabs // log(1) is +0 in all rounding modes. 78 fabs // |x-1| : x-1 : x : log(2) 88 fabs // log(1) is +0 in all rounding modes.
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | x2y2m1l.c | 43 double pd = fabs (*(const double *) p); in compare() 44 double qd = fabs (*(const double *) q); in compare() 65 if (fabs (xu.d[1].d) < 0x1p-500) in __x2y2m1l() 67 if (fabs (yu.d[1].d) < 0x1p-500) in __x2y2m1l()
|
/glibc-2.36/sysdeps/m68k/m680x0/fpu/ |
D | e_pow.c | 53 ax = s(fabs) (x); in s() 62 if (s(fabs) (y) == 1.0) in s() local 81 ax = s(fabs) (x); in s()
|