HomeSort by relevance Sort by last modified time
    Searched refs:fabs (Results 1 - 25 of 655) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestFabs.rs 24 return fabs(inV);
28 return fabs(inV);
32 return fabs(inV);
36 return fabs(inV);
  /external/clang/test/Headers/
tgmath.c 24 // fabs
26 _Static_assert(sizeof(fabs(f)) == sizeof(f), "");
27 _Static_assert(sizeof(fabs(d)) == sizeof(d), "");
28 _Static_assert(sizeof(fabs(l)) == sizeof(l), "");
30 _Static_assert(sizeof(fabs(fc)) == sizeof(f), "");
31 _Static_assert(sizeof(fabs(dc)) == sizeof(d), "");
32 _Static_assert(sizeof(fabs(lc)) == sizeof(l), "");
  /bionic/libm/upstream-freebsd/lib/msun/src/
s_fabs.c 18 * fabs(x) returns the absolute value of x.
25 fabs(double x) function
e_cosh.c 60 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);
e_sinh.c 61 t = expm1(fabs(x));
67 if (ix < 0x40862E42) return h*__ieee754_exp(fabs(x));
71 return h*2.0*__ldexp_exp(fabs(x), -1);
s_asinh.c 49 w = __ieee754_log(fabs(x))+ln2;
51 t = fabs(x);
55 w =log1p(fabs(x)+t/(one+__ieee754_sqrt(one+t)));
s_csqrt.c 76 return (cpack(fabs(b - b), copysign(a, b)));
86 if (fabs(a) >= THRESH || fabs(b) >= THRESH) {
100 result = cpack(fabs(b) / (2 * t), copysign(t, b));
s_tanh.c 69 t = expm1(two*fabs(x));
72 t = expm1(-two*fabs(x));
s_logb.c 36 if((ix|lx)==0) return -1.0/fabs(x);
e_hypot.c 65 a = fabs(a);
66 b = fabs(b);
73 w = fabs(x+0.0)-fabs(y+0.0);
  /ndk/tests/device/hard-float/jni/
test-float.c 38 fail_count += !(fabs(d0-expected0) < 0.00001);
44 fail_count += !(fabs(d1-expected1) < 0.00001);
  /development/perftests/panorama/feature_stab/db_vlvm/
db_utilities_indexing.h 196 best=fabs(s[0]);pos=0;
197 t=fabs(s[1]);if(t>best){best=t;pos=1;}
198 t=fabs(s[2]);if(t>best){pos=2;}
207 best=fabs(s[0]);pos=0;
208 t=fabs(s[1]);if(t>best){best=t;pos=1;}
209 t=fabs(s[2]);if(t>best){best=t;pos=2;}
210 t=fabs(s[3]);if(t>best){best=t;pos=3;}
211 t=fabs(s[4]);if(t>best){best=t;pos=4;}
212 t=fabs(s[5]);if(t>best){best=t;pos=5;}
213 t=fabs(s[6]);if(t>best){best=t;pos=6;
    [all...]
  /external/clang/test/Sema/
warn-absolute-value.c 9 double fabs(double);
25 (void)fabs(x);
26 // expected-warning@-1 {{using floating point absolute value function 'fabs' when argument is of integer type}}
87 (void)fabs(x);
88 // expected-warning@-1 {{using floating point absolute value function 'fabs' when argument is of integer type}}
156 (void)fabs(x);
157 // expected-warning@-1 {{using floating point absolute value function 'fabs' when argument is of integer type}}
230 (void)fabs(x);
280 // expected-note@-2 {{use function 'fabs' instead}}
281 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:12}:"fabs"
    [all...]
  /external/clang/test/SemaCXX/
warn-absolute-value.cpp 10 double fabs(double);
46 (void)fabs(x);
47 // expected-warning@-1 {{using floating point absolute value function 'fabs' when argument is of integer type}}
110 (void)fabs(x);
111 // expected-warning@-1 {{using floating point absolute value function 'fabs' when argument is of integer type}}
181 (void)fabs(x);
182 // expected-warning@-1 {{using floating point absolute value function 'fabs' when argument is of integer type}}
257 (void)fabs(x);
324 (void)fabs(x);
394 (void)fabs(x)
    [all...]
  /packages/apps/Camera/jni/feature_stab/db_vlvm/
db_utilities_indexing.h 196 best=fabs(s[0]);pos=0;
197 t=fabs(s[1]);if(t>best){best=t;pos=1;}
198 t=fabs(s[2]);if(t>best){pos=2;}
207 best=fabs(s[0]);pos=0;
208 t=fabs(s[1]);if(t>best){best=t;pos=1;}
209 t=fabs(s[2]);if(t>best){best=t;pos=2;}
210 t=fabs(s[3]);if(t>best){best=t;pos=3;}
211 t=fabs(s[4]);if(t>best){best=t;pos=4;}
212 t=fabs(s[5]);if(t>best){best=t;pos=5;}
213 t=fabs(s[6]);if(t>best){best=t;pos=6;
    [all...]
  /packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
db_utilities_indexing.h 196 best=fabs(s[0]);pos=0;
197 t=fabs(s[1]);if(t>best){best=t;pos=1;}
198 t=fabs(s[2]);if(t>best){pos=2;}
207 best=fabs(s[0]);pos=0;
208 t=fabs(s[1]);if(t>best){best=t;pos=1;}
209 t=fabs(s[2]);if(t>best){best=t;pos=2;}
210 t=fabs(s[3]);if(t>best){best=t;pos=3;}
211 t=fabs(s[4]);if(t>best){best=t;pos=4;}
212 t=fabs(s[5]);if(t>best){best=t;pos=5;}
213 t=fabs(s[6]);if(t>best){best=t;pos=6;
    [all...]
  /development/perftests/panorama/feature_mos/src/mosaic/
Geometry.h 78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a
93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a
98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3
114 if (fabs( m1 - m2 ) > 1.e-6)
124 mass = fabs( (y1 - y0) * (x2 - x0) );
  /packages/apps/Camera/jni/feature_mos/src/mosaic/
Geometry.h 78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a
93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a
98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3
114 if (fabs( m1 - m2 ) > 1.e-6)
124 mass = fabs( (y1 - y0) * (x2 - x0) );
  /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
Geometry.h 78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b
89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a
93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a
98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3
114 if (fabs( m1 - m2 ) > 1.e-6)
124 mass = fabs( (y1 - y0) * (x2 - x0) );
  /external/skia/src/pathops/
SkPathOpsTypes.h 11 #include <math.h> // for fabs, sqrt
220 return fabs(x) < FLT_EPSILON;
224 return fabs(x) < DBL_EPSILON_ERR;
228 return fabs(x) < DBL_EPSILON_SUBDIVIDE_ERR;
232 return fabs(x) < FLT_EPSILON;
236 return fabs(x) < FLT_EPSILON_CUBED;
240 return fabs(x) < FLT_EPSILON_HALF;
244 return fabs(x) < FLT_EPSILON_DOUBLE;
248 return fabs(x) < FLT_EPSILON_ORDERABLE_ERR;
252 return fabs(x) < FLT_EPSILON_SQUARED
    [all...]
  /external/libopus/celt/tests/
test_unit_mathops.c 72 if (fabs(prod-1) > .00025)
89 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2)
157 float error = fabs((1.442695040888963387*log(x))-celt_log2(x));
160 fprintf (stderr, "celt_log2 failed: fabs((1.442695040888963387*log(x))-celt_log2(x))>0.001 (x = %f, error = %f)\n", x,error);
171 float error = fabs(x-(1.442695040888963387*log(celt_exp2(x))));
174 fprintf (stderr, "celt_exp2 failed: fabs(x-(1.442695040888963387*log(celt_exp2(x))))>0.0005 (x = %f, error = %f)\n", x,error);
185 float error = fabs(x-(celt_log2(celt_exp2(x))));
188 fprintf (stderr, "celt_log2/celt_exp2 failed: fabs(x-(celt_log2(celt_exp2(x))))>0.001 (x = %f, error = %f)\n", x,error);
199 float error = fabs((1.442695040888963387*log(x/16384.0))-celt_log2(x)/1024.0)
    [all...]
  /external/opencv/cv/src/
cvmatchcontours.cpp 111 double ama = fabs( ma[i] );
112 double amb = fabs( mb[i] );
131 result += fabs( -ama + amb );
141 double ama = fabs( ma[i] );
142 double amb = fabs( mb[i] );
161 result += fabs( -ama + amb );
171 double ama = fabs( ma[i] );
172 double amb = fabs( mb[i] );
191 mmm = fabs( (ama - amb) / ama );
343 t0 = fabs( r11 * w1 + r21 * w2 )
    [all...]
  /external/ceres-solver/internal/ceres/
test_util.cc 54 double absolute_difference = fabs(x - y);
55 double relative_difference = absolute_difference / std::max(fabs(x), fabs(y));
  /external/lldb/test/python_api/sbdata/
TestSBData.py 8 from math import fabs namespace
93 self.assertTrue( fabs(data.GetFloat(error, offset) - 3.14) < 1, 'foo[0].c == 3.14')
152 self.assertTrue(fabs(data.float[2] - 3.14) < 1, 'foo[1].c == 3.14') # exploiting that sizeof(uint32) == sizeof(float)
161 self.assertTrue(fabs(data.GetFloat(error, offset) - 3.14) < 1, 'foo[1].c == 3.14')
174 self.assertTrue(fabs(data.GetFloat(error, offset) - 6.28) < 1, 'foo[1].c == 6.28')
194 self.assertTrue(fabs(data.GetFloat(error, offset) - 3) < 1, 'barfoo[0].c == 3')
201 self.assertTrue(fabs(data.GetFloat(error, offset) - 6) < 1, 'barfoo[1].c == 6')
276 self.assertTrue( fabs(data2.GetDouble(error,0) - 3.14) < 0.5, 'double data2[0] = 3.14')
278 self.assertTrue( fabs(data2.GetDouble(error,8) - 6.28) < 0.5, 'double data2[1] = 6.28')
280 self.assertTrue( fabs(data2.GetDouble(error,16) - 2.71) < 0.5, 'double data2[2] = 2.71'
    [all...]
  /ndk/sources/cxx-stl/stlport/stlport/stl/config/
_como.h 97 # define fabsl fabs
129 # define fabsf fabs
130 # define fabsl fabs
169 # define fabsl fabs

Completed in 590 milliseconds

1 2 3 4 5 6 7 8 91011>>