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

1 2 3 4 5 6 7 8 910

  /external/webkit/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);
  /external/v8/src/
macros.py 100 macro FLOOR(arg) = $floor(arg);
124 macro DAY(time) = ($floor(time / 86400000));
125 macro MONTH_FROM_TIME(time) = (FromJulianDay(($floor(time / 86400000)) + 2440588).month);
126 macro DATE_FROM_TIME(time) = (FromJulianDay(($floor(time / 86400000)) + 2440588).date);
127 macro YEAR_FROM_TIME(time) = (FromJulianDay(($floor(time / 86400000)) + 2440588).year);
128 macro HOUR_FROM_TIME(time) = (Modulo($floor(time / 3600000), 24));
129 macro MIN_FROM_TIME(time) = (Modulo($floor(time / 60000), 60));
130 macro SEC_FROM_TIME(time) = (Modulo($floor(time / 1000), 60));
conversions-inl.h 65 return (x >= 0) ? floor(x) : ceil(x);
88 x = (x >= 0) ? floor(x) : ceil(x) + two32;
  /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
  /libcore/luni/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
floor1ARM.s 42 @ r2 = floor
54 LDR r5,[r2],r3,LSL #2 @ r5 = *floor r2 = floor+base
57 SMULL r6, r5, r4, r5 @ (r6,r5) = *d * *floor
58 ADDLT r2, r2, #4 @ floor+=1
  /libcore/luni/src/main/java/java/util/
NavigableSet.java 102 E floor(E e); method in interface:NavigableSet
  /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));
  /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;
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/
try-001.js 45 if ( Math.floor(value) != value || isNaN(value) ) {
try-008.js 39 if ( Math.floor(value) != value || isNaN(value) ) {
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Gradient_Delegate.java 136 pos = pos - (float)Math.floor(pos);
144 int intPart = (int)Math.floor(pos);
166 pos = pos - (float)Math.floor(pos);
170 int intPart = (int)Math.floor(pos);
  /external/webkit/WebCore/inspector/front-end/
FontView.js 91 var realLineHeight = Math.floor(height / lineCount);
94 var finalFontSize = Math.floor(realLineHeight * widthRatio * fontSizeLineRatio) - 1;

Completed in 1709 milliseconds

1 2 3 4 5 6 7 8 910