/external/clang/test/Modules/Inputs/ |
H A D | MacroFabs1.h | 2 #undef fabs macro 3 #define fabs(x) (x) macro
|
/external/syslinux/com32/include/ |
H A D | math.h | 12 double fabs(double);
|
/external/clang/test/Headers/ |
H A D | 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), "");
|
/external/python/cpython2/Python/ |
H A D | pymath.c | 39 x = fabs(x); 40 y = fabs(y); 61 return fabs(x); 63 return -fabs(x); 73 absx = fabs(x);
|
/external/ltp/testcases/misc/math/float/ |
H A D | float_power.c | 31 {FUNC_NORMAL, 50, fabs, "fabs", "fabs_inp.ref", "fabs_out.ref",
|
/external/clang/test/CodeGen/ |
H A D | arm-vfp-asm-constraint.c | 6 double fabs(double x) { // CHECK-LABEL: @fabs( function
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
H A D | gmm_unittest.cc | 55 double relative_error = fabs(pdf - kPdfVoice) / kPdfVoice; 61 relative_error = fabs(pdf - kPdfNoise) / kPdfNoise;
|
/external/clang/test/Sema/ |
H A D | 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/ |
H A D | 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( [all...] |
/external/skia/src/pathops/ |
H A D | SkPathOpsTypes.h | 16 #include "SkSafe_math.h" // for fabs, sqrt 331 return fabs(x) < FLT_EPSILON; 335 return fabs(x) < DBL_EPSILON_ERR; 339 return fabs(x) < DBL_EPSILON_SUBDIVIDE_ERR; 343 return fabs(x) < FLT_EPSILON; 347 return fabs(x) < FLT_EPSILON_CUBED; 351 return fabs(x) < FLT_EPSILON_HALF; 355 return fabs(x) < FLT_EPSILON_DOUBLE; 359 return fabs(x) < FLT_EPSILON_ORDERABLE_ERR; 363 return fabs( [all...] |
/external/libopus/celt/tests/ |
H A D | test_unit_mathops.c | 101 if (fabs(prod-1) > .00025) 118 if (fabs(ratio - 1) > .0005 && fabs(val-sqrt(i)) > 2) 186 float error = fabs((1.442695040888963387*log(x))-celt_log2(x)); 189 fprintf (stderr, "celt_log2 failed: fabs((1.442695040888963387*log(x))-celt_log2(x))>0.001 (x = %f, error = %f)\n", x,error); 200 float error = fabs(x-(1.442695040888963387*log(celt_exp2(x)))); 203 fprintf (stderr, "celt_exp2 failed: fabs(x-(1.442695040888963387*log(celt_exp2(x))))>0.0005 (x = %f, error = %f)\n", x,error); 214 float error = fabs(x-(celt_log2(celt_exp2(x)))); 217 fprintf (stderr, "celt_log2/celt_exp2 failed: fabs(x-(celt_log2(celt_exp2(x))))>0.001 (x = %f, error = %f)\n", x,error); 228 float error = fabs((1.44269504088896338 [all...] |
/external/opencv/cv/src/ |
H A D | 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( r1 [all...] |
/external/python/cpython2/Modules/ |
H A D | _math.c | 91 double absx = fabs(x); 139 absx = fabs(x); 175 if (fabs(x) < 0.7) { 236 if (fabs(x) < DBL_EPSILON/2.) {
|
/external/fec/ |
H A D | dtest.c | 75 if(csum + fabs(gv) > 32767) 78 csum += fabs(gv);
|
/external/libcxx/test/std/containers/unord/unord.map/ |
H A D | load_factor.pass.cpp | 44 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); 68 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
H A D | load_factor.pass.cpp | 43 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); 67 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
H A D | load_factor.pass.cpp | 42 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); 66 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
|
/external/libcxx/test/std/containers/unord/unord.set/ |
H A D | load_factor.pass.cpp | 42 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON); 66 assert(std::fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
|
/external/jemalloc/test/unit/ |
H A D | math.c | 21 if (fabs(a - b) < max_abs_err) 23 rel_err = (fabs(b) > fabs(a)) ? fabs((a-b)/b) : fabs((a-b)/a);
|
/external/ImageMagick/MagickCore/ |
H A D | gem.c | 110 x=c*(1.0-fabs(fmod(h,2.0)-1.0)); 205 x=c*(1.0-fabs(fmod(h,2.0)-1.0)); 306 if (fabs(saturation) < MagickEpsilon) 491 x=c*(1.0-fabs(h-2.0*floor(h/2.0)-1.0)); 593 x=c*(1.0-fabs(h-2.0*floor(h/2.0)-1.0)); 696 if (fabs(hue-(-1.0)) < MagickEpsilon) 878 if (fabs(c) < MagickEpsilon) 881 if (fabs(red-max) < MagickEpsilon) 884 if (fabs(green-max) < MagickEpsilon) 887 if (fabs(blu [all...] |
H A D | colorspace-private.h | 63 if ((fabs((double) red) < MagickEpsilon) && 64 (fabs((double) green) < MagickEpsilon) && 65 (fabs((double) blue) < MagickEpsilon))
|
/external/ImageMagick/tests/ |
H A D | validate.c | 172 x=c*(1.0-fabs(h-2.0*floor(h/2.0)-1.0)); 608 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || 609 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || 610 (fabs(b-0.463759*QuantumRange) >= ReferenceEpsilon)) 625 if ((fabs(h-111.244374/360.0) >= ReferenceEpsilon) || 626 (fabs(s-0.295985) >= ReferenceEpsilon) || 627 (fabs(i-0.658734) >= ReferenceEpsilon)) 641 if ((fabs(r-0.545877*QuantumRange) >= ReferenceEpsilon) || 642 (fabs(g-0.966567*QuantumRange) >= ReferenceEpsilon) || 643 (fabs( [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
H A D | overuse_detector.cc | 129 if (fabs(modified_offset) > threshold_ + kMaxAdaptOffsetMs) { 136 const double k = fabs(modified_offset) < threshold_ ? k_down_ : k_up_; 138 k * (fabs(modified_offset) - threshold_) * (now_ms - last_update_ms_);
|
/external/libtextclassifier/common/ |
H A D | fastexp.h | 46 TC_DCHECK_LE(fabs(f), 126);
|
/external/google-benchmark/src/ |
H A D | check.h | 72 #define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps)) 73 #define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps))
|