Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/lib/Decimal/
H A Ddecimal-to-binary.cpp233 static constexpr GuardType oneHalf{GuardType{1} << (guardBits - 1)}; member in Fortran::decimal::IntermediateFloat
249 while (expo < 1 && (fraction > 0 || guard > oneHalf)) { in ToBinary()
259 if (fraction == 0 && guard <= oneHalf) { in ToBinary()
272 incr = guard > oneHalf || (guard == oneHalf && (fraction & 1)); in ToBinary()
283 incr = guard >= oneHalf; in ToBinary()