Home
last modified time | relevance | path

Searched refs:toExponential (Results 1 – 21 of 21) sorted by relevance

/external/v8/test/mjsunit/
Dnumber-tostring-small.js232 (1).toExponential();
233 (11).toExponential();
234 (112).toExponential();
235 (1).toExponential(0);
236 (11).toExponential(0);
237 (112).toExponential(0);
238 (1).toExponential(1);
239 (11).toExponential(1);
240 (112).toExponential(1);
241 (1).toExponential(2);
[all …]
Dnumber-tostring.js230 assertEquals("1e+0", (1).toExponential());
231 assertEquals("1.1e+1", (11).toExponential());
232 assertEquals("1.12e+2", (112).toExponential());
233 assertEquals("1e+0", (1).toExponential(0));
234 assertEquals("1e+1", (11).toExponential(0));
235 assertEquals("1e+2", (112).toExponential(0));
236 assertEquals("1.0e+0", (1).toExponential(1));
237 assertEquals("1.1e+1", (11).toExponential(1));
238 assertEquals("1.1e+2", (112).toExponential(1));
239 assertEquals("1.00e+0", (1).toExponential(2));
[all …]
Dnumber-tostring-func.js245 assertEquals(a, b.toExponential());
249 assertEquals(a, b.toExponential(c));
Dlength.js44 assertEquals(1, Number.prototype.toExponential.length, "Number.prototype.toExponential.length");
Dmessages.js431 Number(1).toExponential(100);
Dfunction-call.js88 Number.prototype.toExponential,
/external/v8/test/webkit/fast/js/kde/
DNumber-expected.txt94 PASS Number(NaN).toExponential() is "NaN"
95 PASS Number(Infinity).toExponential() is "Infinity"
96 PASS Number(-Infinity).toExponential() is "-Infinity"
97 PASS Number(NaN).toExponential(4) is "NaN"
98 PASS Number(Infinity).toExponential(4) is "Infinity"
99 PASS Number(-Infinity).toExponential(4) is "-Infinity"
100 PASS Number(123.456).toExponential() is "1.23456e+2"
101 PASS try { Number(123.456).toExponential(-1) } catch (e) { String(e).indexOf('Range') >= 0; } is tr…
102 PASS Number(123.456).toExponential(0) is "1e+2"
103 PASS Number(123.456).toExponential(1) is "1.2e+2"
[all …]
/external/v8/test/webkit/
Dnumber-toExponential-expected.txt24 PASS (0.0).toExponential(4) is "0.0000e+0"
25 PASS (-0.0).toExponential(4) is "0.0000e+0"
26 PASS (0.0).toExponential() is "0e+0"
27 PASS (-0.0).toExponential() is "0e+0"
28 PASS (123.456).toExponential() is "1.23456e+2"
29 PASS (123.456).toExponential(0) is "1e+2"
30 PASS (123.456).toExponential(null) is "1e+2"
31 PASS (123.456).toExponential(false) is "1e+2"
32 PASS (123.456).toExponential('foo') is "1e+2"
33 PASS (123.456).toExponential(nan) is "1e+2"
[all …]
/external/v8/test/mjsunit/regress/
Dregress-2443.js30 assertThrows(function() { Number.prototype.toExponential.call({}) }, method in Number
55 Number.prototype.toExponential.call(x_obj, 2));
65 Number.prototype.toExponential.call(1, 2));
86 Number.prototype.toExponential.call(NaN, f_obj));
91 Number.prototype.toExponential.call(1/0, f_obj));
96 Number.prototype.toExponential.call(-1/0, f_obj));
/external/v8/test/mjsunit/asm/embenchen/
Dcopy.js5259 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
5271 argText = currArg.toExponential(effectivePrecision);
Dprimes.js5273 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
5285 argText = currArg.toExponential(effectivePrecision);
Dcorrections.js5259 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
5271 argText = currArg.toExponential(effectivePrecision);
Dmemops.js4722 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
4734 argText = currArg.toExponential(effectivePrecision);
Dfannkuch.js4753 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
4765 argText = currArg.toExponential(effectivePrecision);
Dfasta.js4997 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
5009 argText = currArg.toExponential(effectivePrecision);
Dzlib.js4723 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
4735 argText = currArg.toExponential(effectivePrecision);
Dbox2d.js4971 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
4983 argText = currArg.toExponential(effectivePrecision);
Dlua_binarytrees.js6320 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
6332 argText = currArg.toExponential(effectivePrecision);
/external/chromium-trace/catapult/tracing/third_party/d3/
Dd3.min.js3 …()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function…
/external/v8/test/mjsunit/asm/poppler/
Dpoppler.js5414 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
5426 argText = currArg.toExponential(effectivePrecision);
/external/v8/tools/profviz/
Dgnuplot-4.6.3-emscripten.js1810 … var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
1821 argText = currArg.toExponential(effectivePrecision);