Searched refs:abs (Results 251 - 275 of 1261) sorted by relevance

<<11121314151617181920>>

/external/python/cpython2/Lib/test/
H A Dtest_long_future.py27 a, b = abs(a), abs(b)
103 if skip_small and max(abs(a), abs(b)) < 2**DBL_MANT_DIG:
H A Dtest_timeout.py125 _delta = abs(_t1 - _t2)
142 _delta = abs(_t1 - _t2)
159 _delta = abs(_t1 - _t2)
176 _delta = abs(_t1 - _t2)
/external/replicaisland/src/com/replica/replicaisland/
H A DInterpolator.java107 if (Math.abs(velocity - target) < 0.0001f) {
H A DNPCAnimationComponent.java149 if (Math.abs(velocity.x) >= RUN_SPEED_THRESHOLD) {
199 } else if (Math.abs(velocity.x) > 0.0f && shouldMove(parentObject)) {
225 } else if (Math.abs(velocity.x) > 0.0f) {
262 } else if (Math.abs(velocity.x) > 0.0f) {
324 if (Math.abs(velocity.x) > 0.0f) {
/external/swiftshader/third_party/LLVM/lib/Support/
H A DFileUtilities.cpp140 if (AbsTolerance < std::abs(V1-V2)) {
144 Diff = std::abs(V1/V2 - 1.0);
146 Diff = std::abs(V2/V1 - 1.0);
153 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n'
154 << "Out of tolerance: rel/abs: " << RelTolerance << '/'
/external/webp/src/dsp/
H A Dcost_mips_dsp_r2.c81 const int v = abs(res->coeffs[n]);
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DCameraEnumerationAndroid.java30 import static java.lang.Math.abs;
196 + maxFpsWeight * abs(framerate
208 return abs(requestedWidth - size.width) + abs(requestedHeight - size.height);
/external/webrtc/webrtc/common_audio/signal_processing/
H A Dreal_fft_unittest.cc100 EXPECT_LE(abs(real_fft_time[i] - complex_fft_buff[j]), 1);
/external/webrtc/webrtc/modules/video_processing/
H A Dcontent_analysis.cc177 static_cast<uint32_t>(abs((int16_t)(currPixel - prevPixel)));
242 spatialErrSum += static_cast<uint32_t>(abs(static_cast<int16_t>(
245 spatialErrVSum += static_cast<uint32_t>(abs(static_cast<int16_t>(
247 spatialErrHSum += static_cast<uint32_t>(abs(static_cast<int16_t>(
/external/eigen/test/
H A Dgeo_quaternion.cpp26 using std::abs;
39 VERIFY(abs(q.norm() - 1) < largeEps);
41 else VERIFY(abs(theta - t * theta_tot) < largeEps);
50 using std::abs;
84 Scalar refangle = abs(AngleAxisx(q1.inverse()*q2).angle());
90 VERIFY_IS_MUCH_SMALLER_THAN(abs(q1.angularDistance(q2) - refangle), Scalar(1));
116 if (abs(aa.angle()) > 5*test_precision<Scalar>()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
H A DGraggBulirschStoerIntegrator.java431 final double yi = FastMath.max(FastMath.abs(y1[i]), FastMath.abs(y2[i]));
436 final double yi = FastMath.max(FastMath.abs(y1[i]), FastMath.abs(y2[i]));
685 hNew = FastMath.abs(filterStep(stepSize * stabilityReduction, forward, false));
702 final double e = FastMath.abs(y1[j] - y1Diag[0][j]) / scale[j];
709 hNew = FastMath.abs(filterStep(stepSize * stabilityReduction, forward, false));
721 optimalStep[k] = FastMath.abs(filterStep(stepSize * fac, forward, true));
865 hInt = FastMath.abs(stepSize / FastMath.max(FastMath.pow(interpError, 1.0 / (mu+4)),
917 hNew = FastMath.min(FastMath.abs(stepSiz
[all...]
/external/eigen/Eigen/src/Core/functors/
H A DNullaryFunctors.h47 m_flip(numext::abs(high)<numext::abs(low))
95 m_divisor(convert_index<Scalar>((high>=low?num_steps:-num_steps)+(high-low))/((numext::abs(high-low)+1)==0?1:(numext::abs(high-low)+1))),
96 m_use_divisor(num_steps>1 && (numext::abs(high-low)+1)<num_steps)
/external/eigen/Eigen/src/SparseCore/
H A DAmbiVector.h298 using std::abs;
312 while (m_currentEl>=0 && abs(llElements[m_currentEl].value)<=m_epsilon)
334 using std::abs;
339 } while (m_cachedIndex<m_vector.m_end && abs(m_vector.m_buffer[m_cachedIndex])<=m_epsilon);
350 } while (m_currentEl>=0 && abs(llElements[m_currentEl].value)<=m_epsilon);
/external/libvpx/libvpx/vp8/common/x86/
H A Dloopfilter_sse2.asm63 por xmm4, xmm6 ; abs(q2-q1)
64 por xmm1, xmm2 ; abs(q3-q2)
72 por xmm5, xmm3 ; abs(q0-q1)
101 pmaxub xmm1, xmm4 ; abs(p3 - p2)
104 pmaxub xmm1, xmm2 ; abs(p3 - p2)
106 pmaxub xmm1, xmm5 ; abs(p2 - p1)
109 pmaxub xmm1, xmm3 ; abs(p2 - p1)
124 por xmm6, xmm4 ; abs(p1 - p0)
136 por xmm2, xmm3 ; abs(p1-q1)
145 psrlw xmm2, 1 ; abs(p
[all...]
H A Dloopfilter_block_sse2_x86_64.asm22 por %1, scratch1 ; abs(v2 - v1)
27 LF_ABS %1, %2 ; abs(p3 - p2)
28 LF_ABS %2, %3 ; abs(p2 - p1)
32 LF_ABS scratch2, %4 ; abs(p1 - p0)
34 LF_ABS %4, %5 ; abs(p0 - q0)
35 LF_ABS %5, %6 ; abs(q0 - q1)
43 LF_ABS %3, %6 ; abs(p1 - q1)
44 LF_ABS %6, %7 ; abs(q1 - q2)
46 LF_ABS %7, %8 ; abs(q2 - q3)
49 paddusb %4, %4 ; 2 * abs(p
[all...]
/external/deqp/modules/gles3/scripts/
H A Dgenutil.py224 def abs(a): return a.abs() member in class:GenMath
283 return Scalar(abs(self.x))
287 return Scalar(abs(self.x - v.x))
296 def abs(self): member in class:Scalar
300 return Scalar(abs(self.x))
344 def abs(self): member in class:Uint
345 return Scalar.abs(self).toUint()
453 def abs(self): member in class:Vec2
457 return Vec2(abs(sel
502 def abs(self): member in class:UVec2
570 def abs(self): member in class:Vec3
620 def abs(self): member in class:UVec3
684 def abs(self): member in class:Vec4
734 def abs(self): member in class:UVec4
[all...]
/external/deqp/modules/gles31/scripts/
H A Dgenutil.py224 def abs(a): return a.abs() member in class:GenMath
283 return Scalar(abs(self.x))
287 return Scalar(abs(self.x - v.x))
296 def abs(self): member in class:Scalar
300 return Scalar(abs(self.x))
346 def abs(self): member in class:Uint
347 return Scalar.abs(self).toUint()
455 def abs(self): member in class:Vec2
459 return Vec2(abs(sel
504 def abs(self): member in class:UVec2
572 def abs(self): member in class:Vec3
622 def abs(self): member in class:UVec3
686 def abs(self): member in class:Vec4
736 def abs(self): member in class:UVec4
[all...]
/external/eigen/unsupported/Eigen/src/SpecialFunctions/
H A DSpecialFunctionsImpl.h604 t = numext::abs((ans - r) / r);
613 if (numext::abs(pk) > big) {
818 if( numext::abs(b/s) < machep )
838 if( numext::abs(b/s) < machep )
979 t = numext::abs(t/s);
1220 if (numext::abs(ans - r) < numext::abs(r) * thresh) {
1235 if ((numext::abs(qk) + numext::abs(pk)) > big) {
1241 if ((numext::abs(q
[all...]
/external/opencv/cvaux/src/
H A Dcvbgfg_acmmm2003.cpp258 int diff = abs( int(*rowStart1) - int(*rowStart2) );
302 int diff = abs( int(*rowStart1) - int(*rowStart2) );
386 if ( abs( V_CC(k,0) - prev_data[0]) <= deltaCC &&
387 abs( V_CC(k,1) - prev_data[1]) <= deltaCC &&
388 abs( V_CC(k,2) - prev_data[2]) <= deltaCC &&
389 abs( V_CC(k,3) - curr_data[0]) <= deltaCC &&
390 abs( V_CC(k,4) - curr_data[1]) <= deltaCC &&
391 abs( V_CC(k,5) - curr_data[2]) <= deltaCC)
406 if ( abs( V_C(k,0) - curr_data[0]) <= deltaC &&
407 abs( V_
[all...]
/external/eigen/Eigen/src/IterativeLinearSolvers/
H A DIncompleteLUT.h22 * abs(row(i)) >= abs(row(ncut)) if i<ncut
23 * abs(row(i)) <= abs(row(ncut)) if i>ncut
33 using std::abs;
45 RealScalar abskey = abs(row(mid));
47 if ( abs(row(j)) > abskey) {
257 using std::abs;
365 if(abs(fact) <= m_droptol)
436 if(abs(
[all...]
/external/libvpx/libvpx/vp9/encoder/arm/neon/
H A Dvp9_denoiser_neon.c185 if (abs(sum_diff) > sum_diff_thresh) {
197 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1;
219 if (abs(sum_diff) > sum_diff_thresh) {
290 if (abs(sum_diff) > sum_diff_thresh) {
292 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1;
323 if (abs(sum_diff) > sum_diff_thresh) {
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_denoiser_sse2.c169 if (abs(sum_diff) > sum_diff_thresh) {
181 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1;
197 if (abs(sum_diff) > sum_diff_thresh) {
267 if (abs(sum_diff) > sum_diff_thresh) {
269 ((abs(sum_diff) - sum_diff_thresh) >> num_pels_log2_lookup[bs]) + 1;
298 if (abs(sum_diff) > sum_diff_thresh) {
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_disasm.c98 bool abs; member in struct:src_operand
391 if (src->abs)
402 if (src->abs)
548 .abs = instr->src0_abs,
558 .abs = instr->src1_abs,
568 .abs = instr->src2_abs,
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
H A DGaussNewtonEstimator.java101 * <code>FastMath.abs(J<sub>n</sub> - J<sub>n-1</sub>) &lt;
126 * <code>FastMath.abs(J<sub>n</sub> - J<sub>n-1</sub>) &lt;
226 (FastMath.abs(previous - cost) > (cost * steadyStateThreshold) &&
227 (FastMath.abs(cost) > convergence)));
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
H A DProperFractionFormat.java104 num = Math.abs(num);
218 return new Fraction(((Math.abs(w) * d) + n) * MathUtils.sign(w), d);

Completed in 641 milliseconds

<<11121314151617181920>>