Home
last modified time | relevance | path

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

12

/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/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/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/ets_runtime/ecmascript/builtins/
Dbuiltins_math.h95 static JSTaggedValue Pow(EcmaRuntimeCallInfo *argv);
Dbuiltins_math.cpp549 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()
Dbuiltins.cpp1530 SetFunction(env, mathObject, "pow", Math::Pow, FunctionLength::TWO); in InitializeMath()
/arkcompiler/runtime_core/libpandabase/utils/
Dtype_converter.cpp74 std::pow(NUMERAL_SYSTEM, -std::max(lhs.GetPrecision(), rhs.GetPrecision())); in operator ==()
/arkcompiler/runtime_core/runtime/
Dintrinsics.cpp93 return std::pow(base, exp); in PowF32()
98 return std::pow(base, exp); in PowF64()
Druntime.yaml262 method_name: pow
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h697 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()
Dnumber_helper.cpp558 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/
Dparallel_evacuator-inl.h171 length = std::pow(length, regionPerThread); in CalculateUpdateThreadNum()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dbalance_expressions.cpp237 * Both of the numbers are represented as pow(x, 2).
/arkcompiler/ets_runtime/ecmascript/
Dlinked_hash_table.cpp28 ASSERT_PRINT(helpers::math::IsPowerOfTwo(capacity), "capacity must be pow of '2'"); in Create()
Druntime_call_id.h370 V(Math, Pow) \
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsEnumDeclaration.cpp194 return std::pow(std::get<double>(left), std::get<double>(right)); in EvaluateBinaryExpression()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_math_test.cpp2844 // 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/
Dpandastdlib.pa590 .function f64 Math.pow(f64 a0, f64 a1) <native>
/arkcompiler/runtime_core/compiler/tests/amd64/
Dencoder64_test.cpp105 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/
Dlib_ark_builtins.d.ts371 static pow(x: number, y: number): number;
/arkcompiler/runtime_core/compiler/tests/aarch32/
Dencoder32_test.cpp108 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/
Dencoder64_test.cpp105 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/
Dsnapshot_processor.cpp577 reinterpret_cast<uintptr_t>(Math::Pow),

12