Home
last modified time | relevance | path

Searched refs:testFloor (Results 1 – 12 of 12) sorted by relevance

/external/v8/test/mjsunit/compiler/
Dmath-floor-global.js34 function testFloor(expect, input) { function
50 testFloor(0, 0);
51 testFloor(0, zero());
52 testFloor(-0, -0);
53 testFloor(Infinity, Infinity);
54 testFloor(-Infinity, -Infinity);
55 testFloor(NaN, NaN);
68 testFloor(0, 0.1);
69 testFloor(0, 0.49999999999999994);
70 testFloor(0, 0.5);
[all …]
Dmath-floor-local.js33 function testFloor(expect, input) { function
50 testFloor(0, 0);
51 testFloor(0, zero());
52 testFloor(-0, -0);
53 testFloor(Infinity, Infinity);
54 testFloor(-Infinity, -Infinity);
55 testFloor(NaN, NaN);
68 testFloor(0, 0.1);
69 testFloor(0, 0.49999999999999994);
70 testFloor(0, 0.5);
[all …]
/external/v8/test/mjsunit/
Dmath-floor-part1.js32 function testFloor(expect, input) { function
68 testFloor(0, 0.1);
69 testFloor(0, 0.49999999999999994);
70 testFloor(0, 0.5);
71 testFloor(0, 0.7);
72 testFloor(0, 1.0 - Number.EPSILON);
73 testFloor(-1, -0.1);
74 testFloor(-1, -0.49999999999999994);
75 testFloor(-1, -0.5);
76 testFloor(-1, -0.7);
[all …]
Dmath-floor-part2.js32 function testFloor(expect, input) { function
60 testFloor(two_30, two_30);
61 testFloor(two_30, two_30 + 0.1);
62 testFloor(two_30, two_30 + 0.5);
63 testFloor(two_30, two_30 + 0.7);
65 testFloor(two_30 - 1, two_30 - 1);
66 testFloor(two_30 - 1, two_30 - 1 + 0.1);
67 testFloor(two_30 - 1, two_30 - 1 + 0.5);
68 testFloor(two_30 - 1, two_30 - 1 + 0.7);
70 testFloor(-two_30, -two_30);
[all …]
Dmath-floor-part3.js32 function testFloor(expect, input) { function
60 testFloor(two_52, two_52);
61 testFloor(two_52, two_52 + 0.1);
63 testFloor(two_52, two_52 + 0.5);
65 testFloor(two_52 + 1, two_52 + 0.7);
67 testFloor(two_52 - 1, two_52 - 1);
68 testFloor(two_52 - 1, two_52 - 1 + 0.1);
69 testFloor(two_52 - 1, two_52 - 1 + 0.5);
70 testFloor(two_52 - 1, two_52 - 1 + 0.7);
72 testFloor(-two_52, -two_52);
[all …]
Dmath-floor-part4.js32 function testFloor(expect, input) { function
57 testFloor(0, 0);
58 testFloor(0, zero());
59 testFloor(-0, -0);
60 testFloor(Infinity, Infinity);
61 testFloor(-Infinity, -Infinity);
62 testFloor(NaN, NaN);
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingNavigableSetTest.java208 public void testFloor() { in testFloor() method in ForwardingNavigableSetTest
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DNavigableSetNavigationTester.java181 public void testFloor() { in testFloor() method in NavigableSetNavigationTester
DNavigableMapNavigationTester.java182 public void testFloor() { in testFloor() method in NavigableMapNavigationTester
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java1050 double testFloor = floor / 2; in round() local
1051 div = (testFloor == Math.floor(testFloor)) ? floor : ceil; in round()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1055 double testFloor = floor / 2; in round() local
1056 div = (testFloor == Math.floor(testFloor)) ? floor : ceil; in round()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java195 public void testFloor() { in testFloor() method in MultisetNavigationTester