Searched refs:fabs (Results 1 - 25 of 28) sorted by relevance

12

/bionic/libm/
H A Dfabs.cpp21 double fabs(double x) { function
24 // and using fabs where bit-twiddling would be a better choice.
43 // Don't use __builtin_fabs here because of ARM. (See fabs above.)
44 return fabs(x);
/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_cosh.c60 t = expm1(fabs(x));
68 t = __ieee754_exp(fabs(x));
73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x));
77 return __ldexp_exp(fabs(x), -1);
H A De_sinh.c61 t = expm1(fabs(x));
67 if (ix < 0x40862E42) return h*__ieee754_exp(fabs(x));
71 return h*2.0*__ldexp_exp(fabs(x), -1);
H A Ds_asinh.c49 w = __ieee754_log(fabs(x))+ln2;
51 t = fabs(x);
55 w =log1p(fabs(x)+t/(one+__ieee754_sqrt(one+t)));
H A Ds_csqrt.c76 return (CMPLX(fabs(b - b), copysign(a, b)));
86 if (fabs(a) >= THRESH || fabs(b) >= THRESH) {
100 result = CMPLX(fabs(b) / (2 * t), copysign(t, b));
H A Ds_tanh.c69 t = expm1(two*fabs(x));
72 t = expm1(-two*fabs(x));
H A Ds_logb.c36 if((ix|lx)==0) return -1.0/fabs(x);
H A De_hypot.c65 a = fabs(a);
66 b = fabs(b);
73 w = fabs(x+0.0)-fabs(y+0.0);
H A De_remainder.c57 x = fabs(x);
58 p = fabs(p);
H A Dcatrig.c37 #define isinf(x) (fabs(x) == INFINITY)
183 } else if (x >= DBL_EPSILON * fabs(y - 1)) {
236 } else if (x >= DBL_EPSILON * fabs(y - 1)) {
271 * Im(casinh(z)) = sign(x)*atan2(sign(x)*y, fabs(x)) + O(y/z^3)
283 ax = fabs(x);
284 ay = fabs(y);
352 * Re(cacos(z)) = atan2(fabs(y), x) + O(y/z^3)
367 ax = fabs(x);
368 ay = fabs(y);
391 rx = fabs(cima
[all...]
H A Ds_ccosh.c74 h = exp(fabs(x)) * 0.5;
78 z = __ldexp_cexp(CMPLX(fabs(x), y), -1);
H A Ds_csinh.c74 h = exp(fabs(x)) * 0.5;
78 z = __ldexp_cexp(CMPLX(fabs(x), y), -1);
H A De_jn.c77 x = fabs(x);
181 tmp = tmp*__ieee754_log(fabs(v*tmp));
207 if (fabs(z) >= fabs(w))
H A Ds_ctanh.c124 double exp_mx = exp(-fabs(x));
H A De_atan2.c117 else z=atan(fabs(y/x)); /* safe to do y/x */
H A Ds_atan.c95 x = fabs(x);
H A Ds_erf.c221 s = fabs(x)-one;
229 x = fabs(x);
277 s = fabs(x)-one;
287 x = fabs(x);
H A De_asin.c95 w = one-fabs(x);
H A Ds_remquo.c140 y = fabs(y);
H A De_lgamma_r.c220 return -__ieee754_log(fabs(x));
230 nadj = __ieee754_log(pi/fabs(t*x));
H A De_j0.c95 x = fabs(x);
H A De_j1.c96 y = fabs(x);
/bionic/libstdc++/include/
H A Dcmath68 using ::fabs;
/bionic/benchmarks/
H A Dmath_benchmark.cpp215 d += fabs(v);
225 d += (fabs)(v);
/bionic/libm/include/
H A Dmath.h169 double fabs(double) __pure2;
170 __BIONIC_MATH_INLINE(double fabs(double x) { return __builtin_fabs(x); })

Completed in 150 milliseconds

12