Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/lib/Decimal/
H A Ddecimal-to-binary.cpp190 static constexpr IntType topBit{IntType{1} << (precision - 1)}; member in Fortran::decimal::IntermediateFloat
191 static constexpr IntType mask{topBit + (topBit - 1)};
221 bool IsFull() const { return value_ >= topBit; } in IsFull()
263 while (fraction < topBit && expo > 1) { in ToBinary()
290 fraction = topBit; in ToBinary()
295 if (expo == 1 && fraction < topBit) { in ToBinary()
307 fraction &= ~topBit; in ToBinary()
/llvm-project-15.0.7/flang/include/flang/Common/
H A Duint128.h126 std::uint64_t lower{(low_ & ~topBit) + (that.low_ & ~topBit)};
162 if (bits.high_ & topBit) {
182 if (bits.high_ & topBit) {
194 if (IS_SIGNED && (high_ ^ that.high_) & topBit) {
195 return (high_ & topBit) != 0;
257 static constexpr std::uint64_t topBit{std::uint64_t{1} << 63};