Home
last modified time | relevance | path

Searched refs:log2 (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dencoder_test_common.h69 inline const float MIN_EXP_BASE2_FLOAT = std::log2(FLT_MIN);
70 inline const float MAX_EXP_BASE2_FLOAT = std::log2(FLT_MAX) - 1.0;
71 inline const double MIN_EXP_BASE2_DOUBLE = std::log2(DBL_MIN);
72 inline const double MAX_EXP_BASE2_DOUBLE = std::log2(DBL_MAX) - 1.0;
/arkcompiler/runtime_core/libpandabase/tests/
H A Dmath_helpers_test.cpp29 EXPECT_EQ(GetIntLog2(val), log2(static_cast<double>(val))); in HWTEST()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dmath_helpers_test.cpp30 EXPECT_EQ(GetIntLog2(val), log2(static_cast<double>(val))); in TEST()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dframe_states.cpp1308 std::string log2 = "LoopAssignment ["; in PrintLoop() local
1313 log2 += ","; in PrintLoop()
1316 log2 += std::to_string(i); in PrintLoop()
1319 LOG_COMPILER(INFO) << log2 << "]"; in PrintLoop()
H A Dbytecode_circuit_builder.cpp1243 std::string log2("\tTrys: "); in PrintGraph()
1245 log2 += std::to_string(tryBlock->id) + " , "; in PrintGraph()
1247 LOG_COMPILER(INFO) << log2; in PrintGraph()
H A Dscheduler.cpp148 const size_t sizeLog = std::ceil(std::log2(static_cast<double>(result.size())) + 1); in Run()
H A Dverifier.cpp513 const size_t sizeLog = std::ceil(std::log2(static_cast<double>(bbGatesList.size())) + 1); in Run()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
H A Dets_intrinsics_helpers.h109 const double log2Radix {std::log2(radix)}; in PowHelper()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_symbol.h556 align = static_cast<uint8>(log2(align)); in GetSymbolAlign()
/arkcompiler/ets_runtime/ecmascript/deoptimizer/
H A Ddeoptimizer.cpp631 shift = std::floor(std::log2(depth)) + 1; in ComputeShift()
/arkcompiler/runtime_core/compiler/tests/aarch32/
H A Dencoder32_test.cpp61 static const float MIN_EXP_BASE2_FLOAT = std::log2(FLT_MIN);
62 static const float MAX_EXP_BASE2_FLOAT = std::log2(FLT_MAX) - 1.0;
63 static const double MIN_EXP_BASE2_DOUBLE = std::log2(DBL_MIN);
64 static const double MAX_EXP_BASE2_DOUBLE = std::log2(DBL_MAX) - 1.0;
/arkcompiler/runtime_core/compiler/tests/amd64/
H A Dencoder64_test.cpp62 static const float MIN_EXP_BASE2_FLOAT = std::log2(FLT_MIN);
63 static const float MAX_EXP_BASE2_FLOAT = std::log2(FLT_MAX) - 1.0;
64 static const double MIN_EXP_BASE2_DOUBLE = std::log2(DBL_MIN);
65 static const double MAX_EXP_BASE2_DOUBLE = std::log2(DBL_MAX) - 1.0;
/arkcompiler/runtime_core/compiler/tests/aarch64/
H A Dencoder64_test.cpp62 static const float MIN_EXP_BASE2_FLOAT = std::log2(FLT_MIN);
63 static const float MAX_EXP_BASE2_FLOAT = std::log2(FLT_MAX) - 1.0;
64 static const double MIN_EXP_BASE2_DOUBLE = std::log2(DBL_MIN);
65 static const double MAX_EXP_BASE2_DOUBLE = std::log2(DBL_MAX) - 1.0;
/arkcompiler/runtime_core/static_core/libllvmbackend/
H A Dllvm_ark_interface.cpp387 case llvm::Intrinsic::log2: in GetIntrinsicIdSwitch()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_math.cpp496 result = std::log2(value); in Log2()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Demit.cpp368 log2(Globals::GetInstance()->GetBECommon()->GetTypeAlign(mirType->GetTypeIndex())))); in EmitAsmLabel()
392 align = static_cast<uint8>(log2(align)); in EmitAsmLabel()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp3257 return std::log2(x); in FloatLog2()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js8982 log2: r,
19665 return Math.floor(Math.log2(Math.max(t, e)));
[all...]

Completed in 65 milliseconds