Searched refs:HALF (Results 1 – 9 of 9) sorted by relevance
42 static constexpr double HALF = 0.5; variable
104 double delta = HALF * (bit_cast<double>(value) - number); in DoubleToString()287 if (fraction > HALF && fraction + delta > 1) { in DecimalsToString()
224 return static_cast<unsigned int>(count * scale + base::HALF); in AdjustSampleCount()
569 constexpr double HALF = 0.5; in SetValueInBufferForUint8Clamped() local570 val = val == HALF ? 0 : std::round(val); in SetValueInBufferForUint8Clamped()
524 base::NumberHelper::TruncateDouble(doubleExponent / 2) + base::HALF == // 2 : half in DEF_RUNTIME_STUBS()
96 …base::NumberHelper::TruncateDouble(doubleExponent / 2) + base::HALF == (doubleExponent / 2)) { //… in RuntimeExp()
2112 … bool halfTruncEqual = (base::NumberHelper::TruncateDouble(doubleExponent / 2) + base::HALF) == in RunInternal()
1502 … bool halfTruncEqual = (base::NumberHelper::TruncateDouble(doubleExponent / 2) + base::HALF) == in HandleExpImm8V8()
16887 t[t.HALF = 4] = "HALF";