Home
last modified time | relevance | path

Searched refs:absValue (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dmath_helpers.h69 auto absValue = bit_cast<UT>(AbsOrMin(value)); in IsPowerOfTwo()
70 return (absValue != 0U) && (absValue & (absValue - 1U)) == 0U; in IsPowerOfTwo()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_math.cpp657 double absValue = std::abs(value); in Round() local
658 if (!std::isfinite(absValue) || absValue == 0) { in Round()
660 if (!std::isnan(absValue)) { in Round()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dlowering.cpp412 int64_t absValue = helpers::math::AbsOrMin(sValue); in TryReplaceModPowerOfTwo() local
413 ReplaceSignedModPowerOfTwo(v, inst, bit_cast<uint64_t>(absValue)); in TryReplaceModPowerOfTwo()
420 void Lowering::ReplaceSignedModPowerOfTwo([[maybe_unused]] GraphVisitor *v, Inst *inst, uint64_t absValue) in ReplaceSignedModPowerOfTwo() argument
436 auto valueMinus1 = absValue - 1; in ReplaceSignedModPowerOfTwo()
470 void Lowering::ReplaceUnsignedModPowerOfTwo([[maybe_unused]] GraphVisitor *v, Inst *inst, uint64_t absValue) in ReplaceUnsignedModPowerOfTwo() argument
473 auto valueMinus1 = absValue - 1; in ReplaceUnsignedModPowerOfTwo()
H A Dlowering.h408 static void ReplaceSignedModPowerOfTwo(GraphVisitor *v, Inst *inst, uint64_t absValue);
409 static void ReplaceUnsignedModPowerOfTwo(GraphVisitor *v, Inst *inst, uint64_t absValue);
/arkcompiler/ets_runtime/ecmascript/base/
H A Dnumber_helper.cpp256 double absValue = valueNumber;
261 absValue = -valueNumber;
268 bool isFast = DtoaHelper::FixedDtoa(absValue, digitNumber,

Completed in 8 milliseconds