| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Pow/ |
| D | builtinMathPow.ts | 21 //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/ |
| D | exponent.ets.migrate.json | 24 …"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…
|
| D | exponent.ets.migrate.ets | 16 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);
|
| D | exponent.ets.autofix.json | 27 "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…
|
| D | exponent.ets.arkts2.json | 34 …"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…
|
| D | exponent.ets | 16 let kk = Math.pow(6, 3); 25 k = Math.pow(-1, Infinity);
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/interop/ |
| D | binary_operation_js_obj.ets.migrate.json | 84 …"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…
|
| D | binary_operation_js_obj.ets.migrate.ets | 27 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/ |
| D | intrinsics-10.pa | 14 #Assert that intrinsic Math.pow works fine 16 .function f64 Math.pow (f64 a0, f64 a1) <external> 24 call.short Math.pow, v0, v3
|
| D | intrinsic-f32-04.pa | 14 # Assert that intrinsic Math.pow works fine
|
| D | intrinsics-09.pa | 14 #Assert that intrinsic Math.pow works fine
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | intrinsics-10.pa | 14 #Assert that intrinsic Math.pow works fine 16 .function f64 Math.pow (f64 a0, f64 a1) <external> 24 call.short Math.pow, v0, v3
|
| D | intrinsics-09.pa | 14 #Assert that intrinsic Math.pow works fine
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | fp.yaml | 47 .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/ |
| D | fp.yaml | 47 .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/ |
| D | math-partial-sums.pa | 19 .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/ |
| D | math-partial-sums.pa | 19 .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/ |
| D | math-partial-sums.pa | 19 .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/ |
| D | math-partial-sums.pa | 19 .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/ |
| D | TS_compatibility.rst | 534 .. _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/ |
| D | builtins_math.h | 62 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/ |
| D | generateNumber.js | 17 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/ |
| D | spec_example.ets | 24 return Math.pow(base, exponent)
|
| /arkcompiler/ets_runtime/test/aottest/pgo_math/ |
| D | pgo_math.js | 27 const v = Math.pow();
|
| /arkcompiler/ets_runtime/test/aottest/builtin_math1/ |
| D | builtin_math1.ts | 24 let pr = Math.pow(2, i);
|