/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); 40 return fabs(inV); 44 return fabs(inV); 48 return fabs(inV); 52 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/ |
fabs.cpp | 21 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/ |
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 (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));
|
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);
|
/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);
|
/external/opencv3/modules/imgproc/src/ |
matchcontours.cpp | 60 double ama = fabs( ma[i] ); 61 double amb = fabs( mb[i] ); 80 result += fabs( -ama + amb ); 88 double ama = fabs( ma[i] ); 89 double amb = fabs( mb[i] ); 108 result += fabs( -ama + amb ); 116 double ama = fabs( ma[i] ); 117 double amb = fabs( mb[i] ); 136 mmm = fabs( (ama - amb) / ama );
|
gabor.cpp | 63 xmax = cvRound(std::max(fabs(nstds*sigma_x*c), fabs(nstds*sigma_y*s))); 68 ymax = cvRound(std::max(fabs(nstds*sigma_x*s), fabs(nstds*sigma_y*c)));
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
gmm_unittest.cc | 55 double relative_error = fabs(pdf - kPdfVoice) / kPdfVoice; 61 relative_error = fabs(pdf - kPdfNoise) / kPdfNoise;
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic54x/ |
math.s | 15 .float $fabs(-2.5)
|
/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...] |
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRFinderPattern.cpp | 56 if ((fabs(i - GetY()) <= moduleSize) && (fabs(j - GetX()) <= moduleSize)) {
57 FX_FLOAT moduleSizeDiff = fabs(moduleSize - m_estimatedModuleSize);
|
/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...] |
/external/opencv3/modules/cudaimgproc/src/cuda/ |
bilateral_filter.cu | 62 __device__ __forceinline__ float norm_l1(const float& a) { return ::fabs(a); } 63 __device__ __forceinline__ float norm_l1(const float2& a) { return ::fabs(a.x) + ::fabs(a.y); } 64 __device__ __forceinline__ float norm_l1(const float3& a) { return ::fabs(a.x) + ::fabs(a.y) + ::fabs(a.z); } 65 __device__ __forceinline__ float norm_l1(const float4& a) { return ::fabs(a.x) + ::fabs(a.y) + ::fabs(a.z) + ::fabs(a.w); [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/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 251 return fabs(x) < FLT_EPSILON; 255 return fabs(x) < DBL_EPSILON_ERR; 259 return fabs(x) < DBL_EPSILON_SUBDIVIDE_ERR; 263 return fabs(x) < FLT_EPSILON; 267 return fabs(x) < FLT_EPSILON_CUBED; 271 return fabs(x) < FLT_EPSILON_HALF; 275 return fabs(x) < FLT_EPSILON_DOUBLE; 279 return fabs(x) < FLT_EPSILON_ORDERABLE_ERR; 283 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...] |