/external/chromium_org/v8/test/webkit/fast/js/ |
number-toprecision.js | 25 'This test checks a few Number.toPrecision cases, including ' + 26 '<a href="http://bugs.webkit.org/show_bug.cgi?id=15145">15145: (0.999).toPrecision(1) returns incorrect result</a>' + 29 shouldBeEqualToString("(0.999).toPrecision(1)", "1"); 30 shouldBeEqualToString("(0.999).toPrecision(2)", "1.0"); 31 shouldBeEqualToString("(0.999).toPrecision(3)", "0.999"); 37 shouldBeEqualToString("(0.0).toPrecision(4)", "0.000"); 38 shouldBeEqualToString("(-0.0).toPrecision(4)", "0.000"); 39 shouldBeEqualToString("(0.0).toPrecision()", "0"); 40 shouldBeEqualToString("(-0.0).toPrecision()", "0"); 41 shouldBeEqualToString("(1234.567).toPrecision()", "1234.567") [all...] |
Object-getOwnPropertyNames.js | 85 "Number.prototype": "['constructor', 'toExponential', 'toFixed', 'toLocaleString', 'toPrecision', 'toString', 'valueOf']",
|
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
Number.js | 347 shouldBeTrue("try { Number(1).toPrecision(-1); } catch (e) { String(e).indexOf('Range') >= 0; }"); 348 shouldBeTrue("try { Number(1).toPrecision(0); } catch (e) { String(e).indexOf('Range') >= 0; }"); 349 shouldBe("try { Number(1).toPrecision(1); } catch (e) { String(e); }","\"1\""); 350 shouldBe("try { Number(1).toPrecision(21); } catch (e) { String(e); }","\"1.00000000000000000000\""); 351 shouldBeTrue("try { Number(1).toPrecision(22); } catch (e) { String(e).indexOf('Range') >= 0; }"); 352 shouldBe("Number(NaN).toPrecision()","\"NaN\""); 353 shouldBe("Number(NaN).toPrecision(1)","\"NaN\""); 354 shouldBe("Number(Infinity).toPrecision()","\"Infinity\""); 355 shouldBe("Number(Infinity).toPrecision(1)","\"Infinity\""); 356 shouldBe("Number(-Infinity).toPrecision()","\"-Infinity\"") [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2443.js | 33 assertThrows(function() { Number.prototype.toPrecision.call({}) }, 58 Number.prototype.toPrecision.call(x_obj, 2)); 68 Number.prototype.toPrecision.call(1, 2)); 74 // toExponential and toPrecision does following steps in order 101 Number.prototype.toPrecision.call(NaN, f_obj)); 106 Number.prototype.toPrecision.call(1/0, f_obj)); 111 Number.prototype.toPrecision.call(-1/0, f_obj));
|
regress-117794.js | 54 (-(true)).toPrecision(0x30, 'lib1-f1');
|
/external/chromium_org/v8/test/mjsunit/ |
number-tostring-func.js | 329 // toPrecision 331 assertEquals(a, b.toPrecision(c)); 363 assertEquals("1.3", 1.25.toPrecision(2), "1.25.toPrecision(2)"); 364 assertEquals("1.4", 1.35.toPrecision(2), "1.35.toPrecision(2)");
|
function-names.js | 90 "toPrecision"];
|
undeletable-functions.js | 101 "toPrecision", "toJSON"];
|
function-call.js | 89 Number.prototype.toPrecision,
|
/external/deqp/modules/gles31/functional/ |
es31fShaderIntegerFunctionTests.cpp | [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
base.js | 168 return value.toPrecision(3);
|
/external/chromium_org/v8/benchmarks/ |
base.js | 163 return value.toPrecision(3);
|
/external/chromium_org/v8/test/perf-test/Collections/ |
base.js | 210 return value.toPrecision(3);
|
/external/chromium_org/v8/src/ |
v8natives.js | [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
power.js | 63 return Number(value).toPrecision(yPrecision);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-unpack-code.js | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-unpack-code.js | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
string-unpack-code.js | [all...] |
/external/chromium_org/third_party/d3/src/ |
d3.js | [all...] |