Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpymath.c39 x = fabs(x); in hypot()
40 y = fabs(y); in hypot()
61 return fabs(x); in copysign()
63 return -fabs(x); in copysign()
73 absx = fabs(x); in round()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpymath.c39 x = fabs(x); in hypot()
40 y = fabs(y); in hypot()
61 return fabs(x); in copysign()
63 return -fabs(x); in copysign()
73 absx = fabs(x); in round()
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
De_cosh.c65 t = expm1(fabs(x)); in __ieee754_cosh()
73 t = __ieee754_exp(fabs(x)); in __ieee754_cosh()
78 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x)); in __ieee754_cosh()
84 w = __ieee754_exp(half*fabs(x)); 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()
72 w = __ieee754_exp(0.5*fabs(x)); in __ieee754_sinh()
Ds_tanh.c68 t = expm1(two*fabs(x)); in tanh()
71 t = expm1(-two*fabs(x)); in tanh()
Ds_fabs.c26 fabs(double x) in fabs() function
Dw_acos.c35 if(fabs(x)>1.0) { in acos()
Dw_asin.c36 if(fabs(x)>1.0) { in asin()
Dw_cosh.c34 if(fabs(x)>7.10475860073943863426e+02) { in cosh()
Ds_atan.c95 x = fabs(x); in atan()
De_atan2.c115 else z=atan(fabs(y/x)); /* safe to do y/x */ in __ieee754_atan2()
De_asin.c102 w = one-fabs(x); in __ieee754_asin()
Dk_tan.c91 return one / fabs(x); in __kernel_tan()
De_rem_pio2.c114 t = fabs(x); in __ieee754_rem_pio2()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_math.c92 double absx = fabs(x); in _Py_asinh()
140 absx = fabs(x); in _Py_atanh()
176 if (fabs(x) < 0.7) { in _Py_expm1()
216 if (fabs(x) < DBL_EPSILON/2.) { in _Py_log1p()
Dmathmodule.c80 y = fmod(fabs(x), 2.0); in sinpi()
258 absx = fabs(x); in m_tgamma()
354 absx = fabs(x); in m_lgamma()
369 r = log(pi) - log(fabs(sinpi(absx))) - log(absx) - in m_lgamma()
497 absx = fabs(x); in m_erf()
515 absx = fabs(x); in m_erfc()
640 if (fabs(x) < 1.0) in is_error()
843 FUNC1(fabs, fabs, 0,
996 if (fabs(x) < fabs(y)) { in math_fsum()
1049 assert(fabs(y) < fabs(x)); in math_fsum()
[all …]
Dcmathmodule.c133 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) { in c_acos()
135 r.real = atan2(fabs(z.imag), z.real); in c_acos()
174 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) { in c_acosh()
226 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) { in c_asinh()
234 r.imag = atan2(z.imag, fabs(z.real)); in c_asinh()
319 ay = fabs(z.imag); in c_atanh()
411 if (fabs(z.real) > CM_LOG_LARGE_DOUBLE) { in c_cosh()
533 ax = fabs(z.real); in c_log()
534 ay = fabs(z.imag); in c_log()
642 if (fabs(z.real) > CM_LOG_LARGE_DOUBLE) { in c_sinh()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_math.c92 double absx = fabs(x); in _Py_asinh()
140 absx = fabs(x); in _Py_atanh()
176 if (fabs(x) < 0.7) { in _Py_expm1()
237 if (fabs(x) < DBL_EPSILON/2.) { in _Py_log1p()
Dmathmodule.c80 y = fmod(fabs(x), 2.0); in sinpi()
258 absx = fabs(x); in m_tgamma()
354 absx = fabs(x); in m_lgamma()
369 r = log(pi) - log(fabs(sinpi(absx))) - log(absx) - in m_lgamma()
497 absx = fabs(x); in m_erf()
515 absx = fabs(x); in m_erfc()
640 if (fabs(x) < 1.0) in is_error()
843 FUNC1(fabs, fabs, 0,
996 if (fabs(x) < fabs(y)) { in math_fsum()
1049 assert(fabs(y) < fabs(x)); in math_fsum()
[all …]
Dcmathmodule.c133 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) { in c_acos()
135 r.real = atan2(fabs(z.imag), z.real); in c_acos()
174 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) { in c_acosh()
226 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) { in c_asinh()
234 r.imag = atan2(z.imag, fabs(z.real)); in c_asinh()
319 ay = fabs(z.imag); in c_atanh()
411 if (fabs(z.real) > CM_LOG_LARGE_DOUBLE) { in c_cosh()
533 ax = fabs(z.real); in c_log()
534 ay = fabs(z.imag); in c_log()
642 if (fabs(z.real) > CM_LOG_LARGE_DOUBLE) { in c_sinh()
[all …]
/device/google/dragon/audio/hal/dsp/tests/
Dcmpraw.c48 diff += fabs(data1[i] - data2[i]); in main()
49 maxdiff = max(fabs(data1[i] - data2[i]), maxdiff); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfloatobject.c807 #define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
841 iv = fabs(iv); in float_pow()
845 return PyFloat_FromDouble(fabs(iw)); /* return inf */ in float_pow()
856 return PyFloat_FromDouble(iw_is_odd ? iv : fabs(iv)); in float_pow()
941 return PyFloat_FromDouble(fabs(v->ob_fval)); in float_abs()
1095 if (fabs(rounded - x) == 0.5) in _Py_double_round()
1205 if (errno == ERANGE && fabs(rounded) >= 1.) in _Py_double_round()
1252 if (fabs(y-z) == 0.5) in _Py_double_round()
1384 m = frexp(fabs(x), &e); in float_hex()
/device/generic/goldfish/camera/
DExif.cpp232 float absDegrees = fabs(degrees); in convertGpsCoordinate()
328 static_cast<float>(fabs(floatValue))); in createExifData()
/device/linaro/bootloader/edk2/StdLib/Include/
Dmath.h297 double fabs(double Arg);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dfloatobject.c806 #define DOUBLE_IS_ODD_INTEGER(x) (fmod(fabs(x), 2.0) == 1.0)
840 iv = fabs(iv); in float_pow()
844 return PyFloat_FromDouble(fabs(iw)); /* return inf */ in float_pow()
855 return PyFloat_FromDouble(iw_is_odd ? iv : fabs(iv)); in float_pow()
940 return PyFloat_FromDouble(fabs(v->ob_fval)); in float_abs()
1190 if (errno == ERANGE && fabs(rounded) >= 1.) in _Py_double_round()
1237 if (fabs(y-z) == 0.5) in _Py_double_round()
1369 m = frexp(fabs(x), &e); in float_hex()

12