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

1 2 3 4 5 6 7 8 91011>>

  /external/eigen/doc/snippets/
Cwise_abs.cpp 2 cout << v.abs() << endl;
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/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.1.js 24 ECMA Section: 15.8.2.1 abs( x )
37 var TITLE = "Math.abs()";
49 array[item++] = new TestCase( SECTION, "Math.abs.length", 1, Math.abs.length );
51 array[item++] = new TestCase( SECTION, "Math.abs()", Number.NaN, Math.abs() );
52 array[item++] = new TestCase( SECTION, "Math.abs( void 0 )", Number.NaN, Math.abs(void 0) );
53 array[item++] = new TestCase( SECTION, "Math.abs( null )", 0, Math.abs(null) )
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/
T_invoke_static_1.java 22 return Math.abs(-1234567);
T_invoke_static_19.java 22 return Math.abs(-1234567);
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/
T_invoke_static_range_1.java 22 return Math.abs(-1234567);
T_invoke_static_range_19.java 22 return Math.abs(-1234567);
  /external/eigen/doc/examples/
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;
  /system/core/libpixelflinger/codeflinger/
ARMAssemblerInterface.cpp 45 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800,
49 ((W&1)<<21) | (abs(immed12)&0x7FF);
54 uint32_t offset = abs(immed8);
56 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100,
  /external/v8/test/mjsunit/
math-abs.js 36 assertEquals(0, Math.abs(0));
37 assertEquals(0, Math.abs(zero()));
38 assertEquals(0, Math.abs(-0));
39 assertEquals(Infinity, Math.abs(Infinity));
40 assertEquals(Infinity, Math.abs(-Infinity));
41 assertEquals(NaN, Math.abs(NaN));
42 assertEquals(NaN, Math.abs(-NaN));
43 assertEquals('Infinity', Math.abs(Number('+Infinity')).toString());
44 assertEquals('Infinity', Math.abs(Number('-Infinity')).toString());
45 assertEquals('NaN', Math.abs(NaN).toString())
    [all...]
  /frameworks/compile/mclinker/lib/Target/X86/
X86RelocationFunctions.h 15 DECL_X86_32_APPLY_RELOC_FUNC(abs) \
32 { &abs, 1, "R_386_32", 32 }, \
51 { &abs, 20, "R_386_16", 16 }, \
53 { &abs, 22, "R_386_8", 8 }, \
82 DECL_X86_64_APPLY_RELOC_FUNC(abs) \
91 { &abs, 1, "R_X86_64_64", 64 }, \
100 { &abs, 10, "R_X86_64_32", 32 }, \
102 { &abs, 12, "R_X86_64_16", 16 }, \
104 { &abs, 14, "R_X86_64_8", 8 }, \
  /external/eigen/test/
nesting_ops.cpp 30 VERIFY_IS_APPROX( (m.transpose() * m).diagonal().array().abs().sum(), (m.transpose() * m).diagonal().array().abs().sum() );
32 VERIFY_IS_APPROX( (m.transpose() * m).array().abs().sum(), (m.transpose() * m).array().abs().sum() );
  /external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
NavCalculator.java 100 distance = (float) Math.abs(dLat / Math.cos(Math.toRadians(trueCourse)));
121 double sgnDLong = 0 - (dLong / Math.abs(dLong));
122 if (Math.abs(dLong) > 180 * 60) {
123 dLong = (360 * 60 - Math.abs(dLong)) * sgnDLong;
129 redist = Math.abs(dLong);
131 redist = Math.abs(dLong * (float) Math.cos(p1.getLatitude() * 2 * Math.PI / 360));
156 return Math.abs(tc);
161 return 180 - Math.abs(tc);
166 return 180 + Math.abs(tc);
171 return 360 - Math.abs(tc)
    [all...]
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
chkder.h 32 temp = eps * abs(x[j]);
42 temp = abs(x[j]);
49 if (fvec[i] != 0. && fvecp[i] != 0. && abs(fvecp[i] - fvec[i]) >= epsf * abs(fvec[i]))
50 temp = eps * abs((fvecp[i] - fvec[i]) / eps - err[i]) / (abs(fvec[i]) + abs(fvecp[i]));
  /external/stlport/stlport/stl/
_cstdlib.h 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function
121 # pragma function (abs)
124 //HP-UX native lib has abs() and div() functions in global namespace
131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function
143 # pragma intrinsic (abs)
151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function
154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function
158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function
164 * problem we provide all abs overload before the 'using' call
    [all...]
  /ndk/sources/cxx-stl/stlport/stlport/stl/
_cstdlib.h 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function
121 # pragma function (abs)
124 //HP-UX native lib has abs() and div() functions in global namespace
131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function
143 # pragma intrinsic (abs)
151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function
154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function
158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function
164 * problem we provide all abs overload before the 'using' call
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/
_cstdlib.h 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function
121 # pragma function (abs)
124 //HP-UX native lib has abs() and div() functions in global namespace
131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function
143 # pragma intrinsic (abs)
151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function
154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function
158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function
164 * problem we provide all abs overload before the 'using' call
    [all...]
  /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/
_cstdlib.h 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function
121 # pragma function (abs)
124 //HP-UX native lib has abs() and div() functions in global namespace
131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function
143 # pragma intrinsic (abs)
151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function
154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function
158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function
164 * problem we provide all abs overload before the 'using' call
    [all...]
  /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/
_cstdlib.h 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function
121 # pragma function (abs)
124 //HP-UX native lib has abs() and div() functions in global namespace
131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function
143 # pragma intrinsic (abs)
151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function
154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function
158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function
164 * problem we provide all abs overload before the 'using' call
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/
_cstdlib.h 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function
121 # pragma function (abs)
124 //HP-UX native lib has abs() and div() functions in global namespace
131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function
143 # pragma intrinsic (abs)
151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function
154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function
158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function
164 * problem we provide all abs overload before the 'using' call
    [all...]
  /libcore/luni/src/test/java/libcore/java/math/
OldBigDecimalCompareTest.java 36 assertEquals("incorrect value", "1.238096483923847545735673567457357E+53", aNumber.abs(mc).toString());
39 assertEquals("incorrect value", "1.238096483923847545735673567457356E+53", aNumber.abs(mc).toString());
42 assertEquals("incorrect value", "1.238096483923847545735673567457356E+53", aNumber.abs(mc).toString());
45 assertEquals("incorrect value", "1.238096483923847545735673567457357E+53", aNumber.abs(mc).toString());
49 aNumber.abs(mc);
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
OptimizedErode.java 88 if (Math.abs(h - hV) > this.talus && Math.abs(h - tmp[idxVL]) > this.talus || vertT) {
91 if (Math.abs(h - hV) <= this.talus) {
97 if (Math.abs(h - hH) > this.talus && Math.abs(h - tmp[idxHL]) > this.talus || horizT) {
100 if (Math.abs(h - hH) <= this.talus) {
  /dalvik/tests/032-concrete-sub/src/
ConcreteSub.java 23 private static void callBase(AbstractBase abs) {
24 System.out.println("calling abs.doStuff()");
25 abs.doStuff();
34 System.out.println("Got expected exception from abs.doStuff().");
  /external/dropbear/libtommath/
bn_mp_rand.c 32 d = ((mp_digit) abs (rand ())) & MP_MASK;
44 if ((res = mp_add_d (a, ((mp_digit) abs (rand ())), a)) != MP_OKAY) {
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/numeric/
AbsFunction.java 23 import static java.lang.Math.abs;
36 return literalConstant(abs(arg.asNumber()), arg);

Completed in 1241 milliseconds

1 2 3 4 5 6 7 8 91011>>