Searched refs:fabs (Results 1 – 25 of 31) sorted by relevance
12
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_csqrt.c | 67 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()
|
D | e_cosh.c | 60 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()
|
D | e_sinh.c | 61 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()
|
D | s_asinh.c | 49 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()
|
D | catrig.c | 39 #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 …]
|
D | s_tanh.c | 69 t = expm1(two*fabs(x)); in tanh() 72 t = expm1(-two*fabs(x)); in tanh()
|
D | e_hypot.c | 65 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()
|
D | e_remainder.c | 57 x = fabs(x); in __ieee754_remainder() 58 p = fabs(p); in __ieee754_remainder()
|
D | e_jn.c | 75 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()
|
D | s_ccosh.c | 76 h = exp(fabs(x)) * 0.5; in ccosh() 80 z = __ldexp_cexp(CMPLX(fabs(x), y), -1); in ccosh()
|
D | s_csinh.c | 76 h = exp(fabs(x)) * 0.5; in csinh() 80 z = __ldexp_cexp(CMPLX(fabs(x), y), -1); in csinh()
|
D | s_logb.c | 36 if((ix|lx)==0) return -1.0/fabs(x); in logb()
|
D | s_erf.c | 221 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()
|
D | s_clog.c | 57 ax = fabs(x); in clog() 58 ay = fabs(y); in clog()
|
D | e_atan2.c | 117 else z=atan(fabs(y/x)); /* safe to do y/x */ in __ieee754_atan2()
|
D | s_ctanh.c | 126 double exp_mx = exp(-fabs(x)); in ctanh()
|
D | s_atan.c | 95 x = fabs(x); in atan()
|
D | e_asin.c | 95 w = one-fabs(x); in __ieee754_asin()
|
D | e_lgamma_r.c | 220 return -__ieee754_log(fabs(x)); in __ieee754_lgamma_r() 230 nadj = __ieee754_log(pi/fabs(t*x)); in __ieee754_lgamma_r()
|
D | s_remquo.c | 140 y = fabs(y); in remquo()
|
D | e_j1.c | 95 y = fabs(x); in __ieee754_j1()
|
D | e_j0.c | 94 x = fabs(x); in __ieee754_j0()
|
/bionic/libm/ |
D | builtins.cpp | 21 double fabs(double x) { in fabs() function 44 return fabs(x); in fabsl()
|
/bionic/libc/include/ |
D | math.h | 189 double fabs(double __x) __attribute_const__; 191 long double fabsl(long double __x) __RENAME_LDBL(fabs, 3, 3) __attribute_const__;
|
/bionic/benchmarks/ |
D | math_benchmark.cpp | 211 d += fabs(v); in BM_math_fabs_macro() 221 d += (fabs)(v); in BM_math_fabs()
|
12