Home
last modified time | relevance | path

Searched refs:RunOneTruncationTest (Results 1 – 2 of 2) sorted by relevance

/external/v8/test/cctest/
Dtest-code-stubs.cc96 #define RunOneTruncationTest(p1, p2) \ macro
107 RunOneTruncationTest(0, 0); in RunAllTruncationTests()
108 RunOneTruncationTest(0.5, 0); in RunAllTruncationTests()
109 RunOneTruncationTest(-0.5, 0); in RunAllTruncationTests()
110 RunOneTruncationTest(1.5, 1); in RunAllTruncationTests()
111 RunOneTruncationTest(-1.5, -1); in RunAllTruncationTests()
112 RunOneTruncationTest(5.5, 5); in RunAllTruncationTests()
113 RunOneTruncationTest(-5.0, -5); in RunAllTruncationTests()
114 RunOneTruncationTest(NaN, 0); in RunAllTruncationTests()
115 RunOneTruncationTest(Infinity, 0); in RunAllTruncationTests()
[all …]
/external/v8/test/mjsunit/
Ddouble-truncation.js30 function RunOneTruncationTest(a, b) { class
36 RunOneTruncationTest(0, 0);
37 RunOneTruncationTest(0.5, 0);
38 RunOneTruncationTest(-0.5, 0);
39 RunOneTruncationTest(1.5, 1);
40 RunOneTruncationTest(-1.5, -1);
41 RunOneTruncationTest(5.5, 5);
42 RunOneTruncationTest(-5.0, -5);
43 RunOneTruncationTest(NaN, 0);
44 RunOneTruncationTest(Infinity, 0);
[all …]