Home
last modified time | relevance | path

Searched refs:fabs (Results 1 – 25 of 31) sorted by relevance

12

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_csqrt.c67 return (CMPLX(fabs(b - b), copysign(a, b))); in csqrt()
77 if (fabs(a) >= THRESH || fabs(b) >= THRESH) { in csqrt()
83 if (fabs(a) >= 0x1p-1020) in csqrt()
85 if (fabs(b) >= 0x1p-1020) in csqrt()
93 if (fabs(a) < 0x1p-1022 && fabs(b) < 0x1p-1022) { in csqrt()
106 rx = scale * fabs(b) / (2 * t); in csqrt()
De_cosh.c60 t = expm1(fabs(x)); in __ieee754_cosh()
68 t = __ieee754_exp(fabs(x)); in __ieee754_cosh()
73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x)); in __ieee754_cosh()
77 return __ldexp_exp(fabs(x), -1); in __ieee754_cosh()
De_sinh.c61 t = expm1(fabs(x)); in __ieee754_sinh()
67 if (ix < 0x40862E42) return h*__ieee754_exp(fabs(x)); in __ieee754_sinh()
71 return h*2.0*__ldexp_exp(fabs(x), -1); in __ieee754_sinh()
Ds_asinh.c49 w = __ieee754_log(fabs(x))+ln2; in asinh()
51 t = fabs(x); in asinh()
55 w =log1p(fabs(x)+t/(one+__ieee754_sqrt(one+t))); in asinh()
Dcatrig.c39 #define isinf(x) (fabs(x) == INFINITY)
185 } else if (x >= DBL_EPSILON * fabs(y - 1)) { in do_hard_work()
238 } else if (x >= DBL_EPSILON * fabs(y - 1)) { in do_hard_work()
285 ax = fabs(x); in casinh()
286 ay = fabs(y); in casinh()
369 ax = fabs(x); in cacos()
370 ay = fabs(y); in cacos()
393 rx = fabs(cimag(w)); in cacos()
446 return (CMPLX(fabs(ry), rx)); in cacosh()
450 return (CMPLX(fabs(ry), copysign(rx, cimag(z)))); in cacosh()
[all …]
Ds_tanh.c69 t = expm1(two*fabs(x)); in tanh()
72 t = expm1(-two*fabs(x)); in tanh()
De_hypot.c65 a = fabs(a); in __ieee754_hypot()
66 b = fabs(b); in __ieee754_hypot()
73 w = fabsl(x+0.0L)-fabs(y+0); in __ieee754_hypot()
De_remainder.c57 x = fabs(x); in __ieee754_remainder()
58 p = fabs(p); in __ieee754_remainder()
De_jn.c75 x = fabs(x); in __ieee754_jn()
180 tmp = tmp*__ieee754_log(fabs(v*tmp)); in __ieee754_jn()
206 if (fabs(z) >= fabs(w)) in __ieee754_jn()
Ds_ccosh.c76 h = exp(fabs(x)) * 0.5; in ccosh()
80 z = __ldexp_cexp(CMPLX(fabs(x), y), -1); in ccosh()
Ds_csinh.c76 h = exp(fabs(x)) * 0.5; in csinh()
80 z = __ldexp_cexp(CMPLX(fabs(x), y), -1); in csinh()
Ds_logb.c36 if((ix|lx)==0) return -1.0/fabs(x); in logb()
Ds_erf.c221 s = fabs(x)-one; in erf()
229 x = fabs(x); in erf()
277 s = fabs(x)-one; in erfc()
287 x = fabs(x); in erfc()
Ds_clog.c57 ax = fabs(x); in clog()
58 ay = fabs(y); in clog()
De_atan2.c117 else z=atan(fabs(y/x)); /* safe to do y/x */ in __ieee754_atan2()
Ds_ctanh.c126 double exp_mx = exp(-fabs(x)); in ctanh()
Ds_atan.c95 x = fabs(x); in atan()
De_asin.c95 w = one-fabs(x); in __ieee754_asin()
De_lgamma_r.c220 return -__ieee754_log(fabs(x)); in __ieee754_lgamma_r()
230 nadj = __ieee754_log(pi/fabs(t*x)); in __ieee754_lgamma_r()
Ds_remquo.c140 y = fabs(y); in remquo()
De_j1.c95 y = fabs(x); in __ieee754_j1()
De_j0.c94 x = fabs(x); in __ieee754_j0()
/bionic/libm/
Dbuiltins.cpp21 double fabs(double x) { in fabs() function
44 return fabs(x); in fabsl()
/bionic/libc/include/
Dmath.h189 double fabs(double __x) __attribute_const__;
191 long double fabsl(long double __x) __RENAME_LDBL(fabs, 3, 3) __attribute_const__;
/bionic/benchmarks/
Dmath_benchmark.cpp211 d += fabs(v); in BM_math_fabs_macro()
221 d += (fabs)(v); in BM_math_fabs()

12