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

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/main/none/tests/
floored.c 16 return (int)floor(2.90) + 1;
  /external/v8/test/mjsunit/
math-floor.js 36 assertEquals(0, Math.floor(0));
37 assertEquals(0, Math.floor(zero()));
38 assertEquals(1/-0, 1/Math.floor(-0)); // 0 == -0, so we use reciprocals.
39 assertEquals(Infinity, Math.floor(Infinity));
40 assertEquals(-Infinity, Math.floor(-Infinity));
41 assertNaN(Math.floor(NaN));
43 assertEquals(0, Math.floor(0.1));
44 assertEquals(0, Math.floor(0.5));
45 assertEquals(0, Math.floor(0.7));
46 assertEquals(-1, Math.floor(-0.1))
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.9.js 24 ECMA Section: 15.8.2.9 Math.floor(x)
36 - the value of Math.floor(x) == -Math.ceil(-x)
44 var TITLE = "Math.floor(x)";
55 array[item++] = new TestCase( SECTION, "Math.floor.length", 1, Math.floor.length );
57 array[item++] = new TestCase( SECTION, "Math.floor()", Number.NaN, Math.floor() );
58 array[item++] = new TestCase( SECTION, "Math.floor(void 0)", Number.NaN, Math.floor(void 0) );
59 array[item++] = new TestCase( SECTION, "Math.floor(null)", 0, Math.floor(null) )
    [all...]
15.8.2.6.js 83 array[item++] = new TestCase( SECTION, "Math.ceil(Infinity)", -Math.floor(-Infinity), Math.ceil(Number.POSITIVE_INFINITY) );
84 array[item++] = new TestCase( SECTION, "Math.ceil(-Infinity)", -Math.floor(Infinity), Math.ceil(Number.NEGATIVE_INFINITY) );
85 array[item++] = new TestCase( SECTION, "Math.ceil(-Number.MIN_VALUE)", -Math.floor(Number.MIN_VALUE), Math.ceil(-Number.MIN_VALUE) );
86 array[item++] = new TestCase( SECTION, "Math.ceil(1)", -Math.floor(-1), Math.ceil(1) );
87 array[item++] = new TestCase( SECTION, "Math.ceil(-1)", -Math.floor(1), Math.ceil(-1) );
88 array[item++] = new TestCase( SECTION, "Math.ceil(-0.9)", -Math.floor(0.9), Math.ceil(-0.9) );
89 array[item++] = new TestCase( SECTION, "Math.ceil(0.9 )", -Math.floor(-0.9), Math.ceil( 0.9) );
90 array[item++] = new TestCase( SECTION, "Math.ceil(-1.1)", -Math.floor(1.1), Math.ceil( -1.1));
91 array[item++] = new TestCase( SECTION, "Math.ceil( 1.1)", -Math.floor(-1.1), Math.ceil( 1.1));
  /frameworks/base/core/java/android/util/
FloatMath.java 37 * @return the floor of value
39 public static native float floor(float value); method in class:FloatMath
  /bionic/libm/src/
s_round.c 41 t = floor(x);
46 t = floor(-x);
  /frameworks/base/tools/layoutlib/bridge/src/android/util/
FloatMath_Delegate.java 42 * @return the floor of value
45 /*package*/ static float floor(float value) { method in class:FloatMath_Delegate
46 return (float)Math.floor(value);
  /frameworks/base/core/tests/coretests/src/android/util/
FloatMathTest.java 34 assertEquals(78, FloatMath.floor(78.89f), 0);
35 assertEquals(-79, FloatMath.floor(-78.89f), 0);
  /bionic/libm/i387/
s_floor.S 40 ENTRY(floor) function
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncFloor.java 28 * Execute the Floor() function.
45 return new XNumber(java.lang.Math.floor(m_arg0.execute(xctxt).num()));
FuncRound.java 49 return new XNumber(java.lang.Math.floor(val
  /system/extras/tests/bionic/libstdc++/
test_cmath.cpp 67 using ::floor;
  /external/tremolo/Tremolo/
os.h 61 # define rint(x) (floor((x)+0.5f))
floor1LARM.s 42 @ r2 = floor
54 LDR r5, [r2], r3,LSL #2 @ r5 = *floor r2 = floor+base
59 ADDLT r2, r2, #4 @ floor+=1
  /bionic/libstdc++/include/
cmath 69 using ::floor;
  /cts/tests/tests/util/src/android/util/cts/
FloatMathTest.java 37 method = "floor",
64 // floor
65 assertEquals(7.0f, FloatMath.floor(7.2f));
66 assertEquals(-7.0f, FloatMath.floor(-6.3f));
  /external/v8/src/
conversions-inl.h 76 return (x >= 0) ? floor(x) : ceil(x);
99 x = (x >= 0) ? floor(x) : ceil(x) + two32;
macros.py 113 macro FLOOR(arg) = $floor(arg);
151 macro DAY(time) = ($floor(time / 86400000));
153 macro HOUR_FROM_TIME(time) = (Modulo($floor(time / 3600000), 24));
154 macro MIN_FROM_TIME(time) = (Modulo($floor(time / 60000), 60));
156 macro SEC_FROM_TIME(time) = (Modulo($floor(time / 1000), 60));
  /ndk/sources/cxx-stl/gabi++/include/
cmath 69 using ::floor;
  /ndk/sources/cxx-stl/system/include/
cmath 69 using ::floor;
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/
cmath 67 using ::floor;
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/
cmath 67 using ::floor;
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/system/include/
cmath 69 using ::floor;
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/system/include/
cmath 69 using ::floor;
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
SimpleBigDecimal.java 154 public BigInteger floor() method in class:SimpleBigDecimal
162 return add(oneHalf.adjustScale(scale)).floor();
167 return floor().intValue();
172 return floor().longValue();
197 BigInteger floorBigInt = floor();

Completed in 336 milliseconds

1 2 3 4 5 6 7 8 91011>>