Home
last modified time | relevance | path

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

1234

/external/srec/srec/clib/
Djacobi.c112 g = 100.0 * fabs(a[i][i]); in Jacobi()
115 if ((iter >= 4) && (g < EPSILON*fabs(d[i])) in Jacobi()
116 && (g < EPSILON*fabs(d[j]))) in Jacobi()
124 if (g < EPSILON*fabs(h)) in Jacobi()
129 t = 1.0 / (fabs(theta) + sqrt(1.0 + theta * theta)); in Jacobi()
214 sum += fabs(mat[i][j]); in SumOffDiag()
Dmatrix_i.c114 if ((temp = (double) fabs(mat[ii][jj])) > big) big = temp; in ludcmp()
140 if ((dumm = (double)(vv[ii] * fabs(sum))) >= big) in ludcmp()
163 if (fabs(mat[jj][jj]) <= SIGNIFICANT) mat[jj][jj] = (double)TINY; in ludcmp()
Dmatx_ops.c89 sum_coef += fabs(matrix[ii][jj]); in scale_matrix_for_fixedpoint()
/external/stlport/stlport/stl/config/
D_como.h97 # define fabsl fabs
129 # define fabsf fabs
130 # define fabsl fabs
169 # define fabsl fabs
/external/stlport/stlport/stl/
D_cmath.h345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh…
369 _STLP_DMATH_INLINE(fabs) in _STLP_DMATH_INLINE()
390 # if defined (fabs) in _STLP_DMATH_INLINE()
391 inline double __stlp_fabs(double __x) { return fabs(__x); } in _STLP_DMATH_INLINE()
392 # undef fabs
393 inline double fabs(double __x) { return __stlp_fabs(__x); } in fabs() function
425 { return ::fabs(__x); } in abs()
427 _STLP_DEF_MATH_INLINE(abs, fabs) in _STLP_DEF_MATH_INLINE() argument
440 _STLP_DEF_MATH_INLINE(fabs, fabs)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sin…
[all …]
/external/webkit/WebCore/platform/graphics/
DUnitBezier.h75 if (fabs (x2) < epsilon) in solveCurveX()
78 if (fabs(d2) < 1e-6) in solveCurveX()
95 if (fabs(x2 - x) < epsilon) in solveCurveX()
DGraphicsLayer.cpp368 maxRotAngle = fabs(lastRotAngle); in fetchTransformOperationList()
373 double diffAngle = fabs(rotAngle - lastRotAngle); in fetchTransformOperationList()
/external/webkit/JavaScriptCore/runtime/
DNumberPrototype.cpp255 if (fabs(n / tenToTheF - x) >= fabs((n + 1) / tenToTheF - x)) in numberProtoFuncToFixed()
335 double logx = floor(log10(fabs(x))); in numberProtoFuncToExponential()
341 if (fabs(fx - x) < fabs(cx - x)) in numberProtoFuncToExponential()
421 if (fabs((n + 1.0) * tens - x) <= fabs(n * tens - x)) in numberProtoFuncToPrecision()
DMathObject.cpp117 return jsNumber(exec, fabs(args.at(0).toNumber(exec))); in mathProtoFuncAbs()
206 if (isinf(arg2) && fabs(arg) == 1) in mathProtoFuncPow()
/external/bluetooth/bluez/sbc/
Dsbc_primitives.c434 int32_t tmp = fabs(sb_sample_f[blk][ch][sb]); in sbc_calc_scalefactors()
458 tmp0 = fabs(sb_sample_f[blk][0][sb]); in sbc_calc_scalefactors_j()
459 tmp1 = fabs(sb_sample_f[blk][1][sb]); in sbc_calc_scalefactors_j()
478 tmp0 = fabs(tmp0); in sbc_calc_scalefactors_j()
479 tmp1 = fabs(tmp1); in sbc_calc_scalefactors_j()
492 tmp0 = fabs(sb_sample_j[blk][0]); in sbc_calc_scalefactors_j()
493 tmp1 = fabs(sb_sample_j[blk][1]); in sbc_calc_scalefactors_j()
Dsbc_math.h27 #define fabs(x) ((x) < 0 ? -(x) : (x)) macro
/external/quake/quake/src/QW/client/
Din_win.c1126 if (fabs(fAxisValue) > joy_pitchthreshold.value) in IN_JoyMove()
1153 if (fabs(fAxisValue) > joy_forwardthreshold.value) in IN_JoyMove()
1161 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove()
1171 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove()
1179 if (fabs(fAxisValue) > joy_yawthreshold.value) in IN_JoyMove()
1197 if (fabs(fAxisValue) > joy_pitchthreshold.value) in IN_JoyMove()
Dgl_warp.c745 av[0] = fabs(v[0]); in DrawSkyPolygon()
746 av[1] = fabs(v[1]); in DrawSkyPolygon()
747 av[2] = fabs(v[2]); in DrawSkyPolygon()
/external/quake/quake/src/WinQuake/
Din_win.cpp1133 if (fabs(fAxisValue) > joy_pitchthreshold.value) in IN_JoyMove()
1160 if (fabs(fAxisValue) > joy_forwardthreshold.value) in IN_JoyMove()
1168 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove()
1178 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove()
1186 if (fabs(fAxisValue) > joy_yawthreshold.value) in IN_JoyMove()
1204 if (fabs(fAxisValue) > joy_pitchthreshold.value) in IN_JoyMove()
/external/stlport/test/unit/
Dcmath_test.cpp57 CPPUNIT_CHECK( are_equals(std::fabs(float_val), -float_val) ); in import_checks()
58 CPPUNIT_CHECK( are_equals(std::fabs(double_val), -double_val) ); in import_checks()
60 CPPUNIT_CHECK( are_equals(std::fabs(long_double_val), -long_double_val) ); in import_checks()
/external/webkit/WebCore/platform/android/
DGeolocationServiceAndroid.cpp171 double delta = fabs(position1->coords()->latitude() - position2->coords()->latitude()) in isPositionMovement()
172 + fabs(position1->coords()->longitude() - position2->coords()->longitude()); in isPositionMovement()
/external/libvpx/vp8/encoder/
Dfirstpass.c1274 mv_accumulator_rabs += fabs(next_frame.mvr_abs * motion_pct); in define_gf_group()
1275 mv_accumulator_cabs += fabs(next_frame.mvc_abs * motion_pct); in define_gf_group()
1280 abs_mv_in_out_accumulator += fabs(next_frame.mv_in_out_count * next_frame.pcnt_motion); in define_gf_group()
1285 this_frame_mvr_ratio = fabs(next_frame.mvr_abs) / in define_gf_group()
1286 DOUBLE_DIVIDE_CHECK(fabs(next_frame.MVr)); in define_gf_group()
1288 this_frame_mvc_ratio = fabs(next_frame.mvc_abs) / in define_gf_group()
1289 DOUBLE_DIVIDE_CHECK(fabs(next_frame.MVc)); in define_gf_group()
1337 this_mv_rabs = fabs(next_frame.mvr_abs * motion_pct); in define_gf_group()
1338 this_mv_cabs = fabs(next_frame.mvc_abs * motion_pct); in define_gf_group()
1863 cpi->motion_speed = (int)(fabs(this_frame.MVr) + fabs(this_frame.MVc)); in vp8_second_pass()
[all …]
/external/icu4c/test/intltest/
Ditrbnfrt.cpp288 if (fabs(i) < 5000) in doTest()
290 else if (fabs(i) < 500000) in doTest()
/external/chromium/third_party/icu/source/test/intltest/
Ditrbnfrt.cpp288 if (fabs(i) < 5000) in doTest()
290 else if (fabs(i) < 500000) in doTest()
/external/speex/libspeex/
Dstereo.c134 balance=floor(.5+fabs(balance)); in speex_encode_stereo()
197 balance_id=floor(.5+fabs(balance)); in speex_encode_stereo_int()
Dresample.c276 if (fabs(x)<1e-6f) in sinc()
278 else if (fabs(x) > .5f*N) in sinc()
281 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); in sinc()
289 if (fabs(x)<1e-6) in sinc()
291 else if (fabs(x) > .5*N) in sinc()
294 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); in sinc()
/external/webkit/WebCore/platform/graphics/skia/
DImageSkia.cpp118 if ((fabs(destWidth - srcWidth) / srcWidth < kFractionalChangeThreshold) in computeResamplingMode()
119 && (fabs(destHeight - srcHeight) / srcHeight < kFractionalChangeThreshold)) { in computeResamplingMode()
/external/skia/include/core/
DSkFloatingPoint.h48 #define sk_float_abs(x) (float)::fabs(x)
/external/iproute2/tc/
Dtc_util.c341 if (sz >= 1024*1024 && fabs(1024*1024*rint(tmp/(1024*1024)) - sz) < 1024) in print_size()
343 else if (sz >= 1024 && fabs(1024*rint(tmp/1024) - sz) < 16) in print_size()
/external/quake/quake/src/QW/progs/
Ddoors.qc516 self.pos2 = self.pos1 + self.movedir*(fabs(self.movedir*self.size) - self.lip);
601 self. t_width = fabs(v_up * self.size);
603 self. t_width = fabs(v_right * self.size);
607 self. t_length = fabs(v_forward * self.size);

1234