| /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/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/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/ets_runtime/ecmascript/builtins/ |
| D | builtins_math.h | 95 static JSTaggedValue Pow(EcmaRuntimeCallInfo *argv);
|
| D | builtins_math.cpp | 549 JSTaggedValue BuiltinsMath::Pow(EcmaRuntimeCallInfo *argv) in Pow() function in panda::ecmascript::builtins::BuiltinsMath 552 BUILTINS_API_TRACE(argv->GetThread(), Math, Pow); in Pow() 576 double result = std::pow(valueX, valueY); in Pow()
|
| D | builtins.cpp | 1530 SetFunction(env, mathObject, "pow", Math::Pow, FunctionLength::TWO); in InitializeMath()
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | type_converter.cpp | 74 std::pow(NUMERAL_SYSTEM, -std::max(lhs.GetPrecision(), rhs.GetPrecision())); in operator ==()
|
| /arkcompiler/runtime_core/runtime/ |
| D | intrinsics.cpp | 93 return std::pow(base, exp); in PowF32() 98 return std::pow(base, exp); in PowF64()
|
| D | runtime.yaml | 262 method_name: pow
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | json_parser.h | 697 res += (*current_ - '0') * pow(NUMBER_SIXTEEN, exponent); in ConvertStringUnicode() 699 res += (*current_ - 'a' + NUMBER_TEN) * pow(NUMBER_SIXTEEN, exponent); in ConvertStringUnicode() 701 res += (*current_ - 'A' + NUMBER_TEN) * pow(NUMBER_SIXTEEN, exponent); in ConvertStringUnicode()
|
| D | number_helper.cpp | 558 return number * std::pow(radix, exponent); in StringToDouble() 564 (number * std::pow(radix, exponent)) : NAN_VALUE); in StringToDouble() 652 result = number / std::pow(radix, -exponent); in Strtod() 654 result = number * std::pow(radix, exponent); in Strtod()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | parallel_evacuator-inl.h | 171 length = std::pow(length, regionPerThread); in CalculateUpdateThreadNum()
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | balance_expressions.cpp | 237 * Both of the numbers are represented as pow(x, 2).
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | linked_hash_table.cpp | 28 ASSERT_PRINT(helpers::math::IsPowerOfTwo(capacity), "capacity must be pow of '2'"); in Create()
|
| D | runtime_call_id.h | 370 V(Math, Pow) \
|
| /arkcompiler/ets_frontend/es2panda/ir/ts/ |
| D | tsEnumDeclaration.cpp | 194 return std::pow(std::get<double>(left), std::get<double>(right)); in EvaluateBinaryExpression()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_math_test.cpp | 2844 // Math.pow(2,"-2") 2845 HWTEST_F_L0(BuiltinsMathTest, Pow) in HWTEST_F_L0() argument 2855 JSTaggedValue result = BuiltinsMath::Pow(ecmaRuntimeCallInfo); in HWTEST_F_L0() 2861 // Math.pow(-NaN,-2) 2871 JSTaggedValue result = BuiltinsMath::Pow(ecmaRuntimeCallInfo); in HWTEST_F_L0() 2877 // Math.pow() 2885 JSTaggedValue result = BuiltinsMath::Pow(ecmaRuntimeCallInfo); in HWTEST_F_L0() 2891 // Math.pow(false,-2) 2901 JSTaggedValue result = BuiltinsMath::Pow(ecmaRuntimeCallInfo); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/pandastdlib/ |
| D | pandastdlib.pa | 590 .function f64 Math.pow(f64 a0, f64 a1) <native>
|
| /arkcompiler/runtime_core/compiler/tests/amd64/ |
| D | encoder64_test.cpp | 105 return sign * dis_num(random_generator) * std::pow(2.0F, dis(random_generator)); in random_gen() 108 return sign * dis_num(random_generator) * std::pow(2.0, dis(random_generator)); in random_gen()
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | lib_ark_builtins.d.ts | 371 static pow(x: number, y: number): number;
|
| /arkcompiler/runtime_core/compiler/tests/aarch32/ |
| D | encoder32_test.cpp | 108 return sign * dis_num(random_generator) * std::pow(2.0F, dis(random_generator)); in random_gen() 111 return sign * dis_num(random_generator) * std::pow(2.0, dis(random_generator)); in random_gen()
|
| /arkcompiler/runtime_core/compiler/tests/aarch64/ |
| D | encoder64_test.cpp | 105 return sign * dis_num(random_generator) * std::pow(2.0F, dis(random_generator)); in random_gen() 108 return sign * dis_num(random_generator) * std::pow(2.0, dis(random_generator)); in random_gen()
|
| /arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
| D | snapshot_processor.cpp | 577 reinterpret_cast<uintptr_t>(Math::Pow),
|