Searched refs:absValue (Results 1 - 5 of 5) sorted by relevance
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | math_helpers.h | 69 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 D | builtins_math.cpp | 657 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 D | lowering.cpp | 412 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 D | lowering.h | 408 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 D | number_helper.cpp | 256 double absValue = valueNumber; 261 absValue = -valueNumber; 268 bool isFast = DtoaHelper::FixedDtoa(absValue, digitNumber,
|
Completed in 8 milliseconds