/external/clang/test/Sema/ |
H A D | warn-absolute-value-header.c | 4 int abs(int); 12 (void)abs(i); 14 // Remove abs call 15 (void)abs(u); 17 // expected-note@-2{{remove the call to 'abs' since unsigned values cannot be negative}} 23 (void)abs(ll); 24 // expected-warning@-1{{absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value}} 27 (void)abs(f); 28 // expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating point type}} 31 (void)abs( [all...] |
/external/clang/test/SemaCXX/ |
H A D | warn-absolute-value-header.cpp | 5 int abs(int); 10 int abs(int); 11 float abs(float); 16 (void)abs(d); 17 // expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating point type}} 18 // expected-note@-2{{use function 'std::abs' instead}} 19 // expected-note@-3{{include the header <cmath> or explicitly provide a declaration for 'std::abs'}} 20 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:9-[[@LINE-4]]:12}:"std::abs" 24 // expected-note@-2{{use function 'std::abs' instead}} 25 // expected-note@-3{{include the header <cmath> or explicitly provide a declaration for 'std::abs'}} [all...] |
H A D | warn-absolute-value.cpp | 5 int abs(int); 21 int abs(int); 22 long int abs(long int); 23 long long int abs(long long int); 26 float abs(float); 27 double abs(double); 28 long double abs(long double); 31 double abs(T); 36 (void)std::abs(x); 38 (void)abs( [all...] |
/external/eigen/doc/snippets/ |
H A D | Cwise_abs.cpp | 2 cout << v.abs() << endl;
|
H A D | MatrixBase_array_const.cpp | 2 cout << "the absolute values:" << endl << v.array().abs() << endl; 3 cout << "the absolute values plus one:" << endl << v.array().abs()+1 << endl;
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.alg/ |
H A D | abs.fail.cpp | 16 // constexpr duration<Rep, Period> abs(duration<Rep, Period> d) 26 std::chrono::abs(unsigned_secs(0));
|
/external/swiftshader/src/Common/ |
H A D | Half.cpp | 23 unsigned int abs = fp32i & 0x7FFFFFFF; local 25 if(abs > 0x47FFEFFF) // Infinity 29 else if(abs < 0x38800000) // Denormal 31 unsigned int mantissa = (abs & 0x007FFFFF) | 0x00800000; 32 int e = 113 - (abs >> 23); 36 abs = mantissa >> e; 40 abs = 0; 43 fp16i = sign | (abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13; 47 fp16i = sign | (abs [all...] |
/external/eigen/doc/examples/ |
H A D | Tutorial_ArrayClass_cwise_other.cpp | 13 cout << "a.abs() =" << endl 14 << a.abs() << endl; 15 cout << "a.abs().sqrt() =" << endl 16 << a.abs().sqrt() << endl; 17 cout << "a.min(a.abs().sqrt()) =" << endl 18 << a.min(a.abs().sqrt()) << endl;
|
/external/eigen/test/ |
H A D | numext.cpp | 17 VERIFY_IS_EQUAL(numext::abs(-T(1)), T(1)); 18 VERIFY_IS_EQUAL(numext::abs(T(0)), T(0)); 19 VERIFY_IS_EQUAL(numext::abs(T(1)), T(1)); 28 VERIFY_IS_EQUAL(numext::abs(x), numext::abs(-x)); 29 VERIFY( numext::abs(-x) >= Real(0)); 31 VERIFY( numext::abs(x) >= Real(0)); 32 VERIFY_IS_APPROX( numext::abs2(x), numext::abs2(numext::abs(x)) );
|
/external/r8/src/test/java/com/android/tools/r8/debuginfo/ |
H A D | SynchronizedMethodTest.java | 12 return -Math.abs(x); 19 return -Math.abs(x);
|
/external/vixl/examples/aarch64/ |
H A D | abs.cc | 32 // int64_t abs(int64_t x) 52 Label abs; local 53 masm.Bind(&abs); 60 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&abs)); 61 printf("abs(%" PRId64 ") = %" PRId64 "\n",
|
/external/ltp/testcases/misc/math/ |
H A D | Makefile | 26 FILTER_OUT_DIRS := abs float
|
/external/fec/ |
H A D | peakval_mmx.c | 14 a = abs(*b); 27 a = abs(*b);
|
H A D | peakval_sse.c | 15 a = abs(*b); 28 a = abs(*b);
|
H A D | peakval_sse2.c | 14 a = abs(*b); 27 a = abs(*b);
|
/external/toybox/toys/lsb/ |
H A D | umount.c | 138 char *abs = xabspath(*optargs, 0); local 140 for (ml = abs ? mlrev : 0; ml; ml = ml->prev) { 141 if (!strcmp(ml->dir, abs)) break; 142 if (!strcmp(ml->device, abs)) { 143 free(abs); 144 abs = ml->dir; 149 do_umount(abs ? abs : *optargs, ml ? ml->device : 0, flags); 150 if (ml && abs != ml->dir) free(abs); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
H A D | SimpleRealPointChecker.java | 78 final double difference = FastMath.abs(p[i] - c[i]); 79 final double size = FastMath.max(FastMath.abs(p[i]), FastMath.abs(c[i]));
|
H A D | SimpleScalarValueChecker.java | 77 final double difference = FastMath.abs(p - c); 78 final double size = FastMath.max(FastMath.abs(p), FastMath.abs(c));
|
H A D | SimpleVectorialPointChecker.java | 80 final double difference = FastMath.abs(pi - ci); 81 final double size = FastMath.max(FastMath.abs(pi), FastMath.abs(ci));
|
H A D | SimpleVectorialValueChecker.java | 80 final double difference = FastMath.abs(pi - ci); 81 final double size = FastMath.max(FastMath.abs(pi), FastMath.abs(ci));
|
/external/libcxx/include/ |
H A D | stdlib.h | 67 int abs( int j); 68 long abs( long j); 69 long long abs(long long j); // C++0X 104 #undef abs macro 115 inline _LIBCPP_INLINE_VISIBILITY long abs( long __x) _NOEXCEPT {return labs(__x);} 117 inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);}
|
/external/llvm/test/MC/AMDGPU/ |
H A D | vop3.s | 55 v_cmp_lt_f32 s[2:3] -abs(v4), v6 63 v_cmp_lt_f32 s[2:3] v4, -abs(v6) 71 v_cmp_lt_f32 s[2:3] -abs(v4), -abs(v6) 162 v_fract_f32 v1, abs(v2) 170 v_fract_f32 v1, -abs(v2) 281 v_add_f64 v[0:1], abs(v[2:3]), v[5:6] 289 v_add_f64_e64 v[0:1], abs(v[2:3]), v[5:6] 297 v_add_f64 v[0:1], v[2:3], abs(v[5:6]) 305 v_add_f64_e64 v[0:1], v[2:3], abs( [all...] |
/external/vixl/examples/aarch32/ |
H A D | abs.cc | 32 // int32_t abs(int32_t x) 47 Label abs; local 48 masm.Bind(&abs); 60 memory.GetEntryPoint<int32_t (*)(int32_t)>(abs); 63 printf("native: abs(%d) = %d\n", input_value, output_value);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/special/ |
H A D | Erf.java | 45 * <p>The value returned is always between -1 and 1 (inclusive). If {@code abs(x) > 40}, then 55 if (FastMath.abs(x) > 40) { 74 * <p>The value returned is always between 0 and 2 (inclusive). If {@code abs(x) > 40}, then 85 if (FastMath.abs(x) > 40) {
|
/external/clang/test/CodeGen/ |
H A D | pr9614.c | 7 extern int abs_alias (int) __asm ("abs"); 8 inline __attribute__ ((__always_inline__)) int abs (int x) { function 27 abs(0); 35 // CHECK: call i32 @abs(i32 0) 42 // CHECK: declare i32 @abs(i32
|