Home
last modified time | relevance | path

Searched full:pow (Results 1 – 25 of 104) sorted by relevance

12345

/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Pow/
DbuiltinMathPow.ts21 //aot: [trace] aot inline builtin: Math.pow, caller function name:func_main_0@builtinMathPow
22 len = Math.pow();
26 //aot: [trace] aot inline builtin: Math.pow, caller function name:func_main_0@builtinMathPow
27 len = Math.pow(0);
31 //aot: [trace] aot inline builtin: Math.pow, caller function name:func_main_0@builtinMathPow
32 len = Math.pow(2, 4, 6);
36 //aot: [trace] aot inline builtin: Math.pow, caller function name:func_main_0@builtinMathPow
37 len = Math.pow(2, NaN)
41 //aot: [trace] aot inline builtin: Math.pow, caller function name:func_main_0@builtinMathPow
42 len = Math.pow(3, +0.0);
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dexponent.ets.migrate.json24 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
34 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
44 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
54 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
Dexponent.ets.migrate.ets16 let kk: number = Math.pow(6.0, 3.0);
19 let k: number = Math.pow(5.0, 2.0);
22 k = Math.pow(k, 2.0);
25 k = Math.pow(-1.0, Infinity);
Dexponent.ets.autofix.json27 "replacementText": "kk: number = Math.pow(6, 3)",
45 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
140 "replacementText": "Math.pow(5, 2)",
182 "replacementText": "k = Math.pow(k, 2)",
223 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
Dexponent.ets.arkts2.json34 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
124 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
Dexponent.ets16 let kk = Math.pow(6, 3);
25 k = Math.pow(-1, Infinity);
/arkcompiler/ets_frontend/ets2panda/linter/test/interop/
Dbinary_operation_js_obj.ets.migrate.json84 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
94 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
104 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
114 …"rule": "function \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-po…
Dbinary_operation_js_obj.ets.migrate.ets27 Math.pow(a, b)
31 Math.pow(m.toNumber(), n.toNumber())
37 Math.pow(x, y);
49 Math.pow(x2, y2);
/arkcompiler/runtime_core/static_core/tests/cts-assembly/
Dintrinsics-10.pa14 #Assert that intrinsic Math.pow works fine
16 .function f64 Math.pow (f64 a0, f64 a1) <external>
24 call.short Math.pow, v0, v3
Dintrinsic-f32-04.pa14 # Assert that intrinsic Math.pow works fine
Dintrinsics-09.pa14 #Assert that intrinsic Math.pow works fine
/arkcompiler/runtime_core/tests/cts-assembly/
Dintrinsics-10.pa14 #Assert that intrinsic Math.pow works fine
16 .function f64 Math.pow (f64 a0, f64 a1) <external>
24 call.short Math.pow, v0, v3
Dintrinsics-09.pa14 #Assert that intrinsic Math.pow works fine
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dfp.yaml47 .function f64 pow (i32 a0, f64 a1) {
74 call.short pow, v2, v1 # acc = x^3
80 call.short pow, v2, v1 # acc = x^5
86 call.short pow, v2, v1 # acc = x^7
288 call.short pow, v0, v1
293 .function f64 pow (i32 a0, f64 a1) {
313 …# x = 1024 * Math.pow(x, 11) - 2816 * Math.pow(x,9) + 2816 * Math.pow(x,7) - 1232 * Math.pow(x,5) …
487 call.short pow, v0, v1
492 .function f64 pow (i32 a0, f64 a1) {
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dfp.yaml47 .function f64 pow (i32 a0, f64 a1) {
74 call.short pow, v2, v1 # acc = x^3
80 call.short pow, v2, v1 # acc = x^5
86 call.short pow, v2, v1 # acc = x^7
288 call.short pow, v0, v1
293 .function f64 pow (i32 a0, f64 a1) {
313 …# x = 1024 * Math.pow(x, 11) - 2816 * Math.pow(x,9) + 2816 * Math.pow(x,7) - 1232 * Math.pow(x,5) …
487 call.short pow, v0, v1
492 .function f64 pow (i32 a0, f64 a1) {
/arkcompiler/runtime_core/tests/regression/
Dmath-partial-sums.pa19 .function f64 Math.pow(f64 a0, f64 a1) <external>
109 call.short Math.pow, v0, v1
113 call.short Math.pow, v0, v10
/arkcompiler/runtime_core/static_core/tests/benchmarks/
Dmath-partial-sums.pa19 .function f64 Math.pow(f64 a0, f64 a1) <external>
108 call.short Math.pow, v0, v1
112 call.short Math.pow, v0, v10
/arkcompiler/runtime_core/static_core/tests/regression/
Dmath-partial-sums.pa19 .function f64 Math.pow(f64 a0, f64 a1) <external>
109 call.short Math.pow, v0, v1
113 call.short Math.pow, v0, v10
/arkcompiler/runtime_core/tests/benchmarks/
Dmath-partial-sums.pa19 .function f64 Math.pow(f64 a0, f64 a1) <external>
108 call.short Math.pow, v0, v1
112 call.short Math.pow, v0, v10
/arkcompiler/runtime_core/static_core/plugins/ets/doc/cookbook/
DTS_compatibility.rst534 .. _Differences in Math.pow:
536 Differences in Math.pow
542 The function ``Math.pow`` in |LANG| conforms to the latest IEEE 754-2019
545 - ``Math.pow(1, Infinity)``,
546 - ``Math.pow(-1, Infinity)``,
547 - ``Math.pow(1, -Infinity)``,
548 - ``Math.pow(-1, -Infinity)``.
550 The function ``Math.pow`` in |TS| conforms to the outdated 2008 version of the
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_math.h62 V("pow", Pow, 2, MathPow) /* Math.pow ( base, exponent ) */ \
143 static JSTaggedValue Pow(EcmaRuntimeCallInfo *argv);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/benchmarks/interop_js/type_conversion_primitives/bu_d2d/
DgenerateNumber.js17 const modulus = Math.pow(2, 32);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/08.function_declarations/02.parameter_list/
Dspec_example.ets24 return Math.pow(base, exponent)
/arkcompiler/ets_runtime/test/aottest/pgo_math/
Dpgo_math.js27 const v = Math.pow();
/arkcompiler/ets_runtime/test/aottest/builtin_math1/
Dbuiltin_math1.ts24 let pr = Math.pow(2, i);

12345