Home
last modified time | relevance | path

Searched refs:HALF (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.h42 static constexpr double HALF = 0.5; variable
Dnumber_helper.cpp104 double delta = HALF * (bit_cast<double>(value) - number); in DoubleToString()
287 if (fraction > HALF && fraction + delta > 1) { in DecimalsToString()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_sampling.cpp224 return static_cast<unsigned int>(count * scale + base::HALF); in AdjustSampleCount()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_arraybuffer.cpp569 constexpr double HALF = 0.5; in SetValueInBufferForUint8Clamped() local
570 val = val == HALF ? 0 : std::round(val); in SetValueInBufferForUint8Clamped()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp524 base::NumberHelper::TruncateDouble(doubleExponent / 2) + base::HALF == // 2 : half in DEF_RUNTIME_STUBS()
Druntime_stubs-inl.h96 …base::NumberHelper::TruncateDouble(doubleExponent / 2) + base::HALF == (doubleExponent / 2)) { //… in RuntimeExp()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.h2112 … bool halfTruncEqual = (base::NumberHelper::TruncateDouble(doubleExponent / 2) + base::HALF) == in RunInternal()
Dinterpreter_assembly.cpp1502 … bool halfTruncEqual = (base::NumberHelper::TruncateDouble(doubleExponent / 2) + base::HALF) == in HandleExpImm8V8()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js16887 t[t.HALF = 4] = "HALF";