Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dreal.h67 constexpr bool IsSignBitSet() const { return word_.BTEST(bits - 1); } in IsSignBitSet() function
69 return !IsNotANumber() && IsSignBitSet(); in IsNegative()
105 constexpr Real SIGN(const Real &x) const { return SetSign(x.IsSignBitSet()); } in SIGN()
283 if (IsSignBitSet()) {
287 if (IsSignBitSet() != result.value.IsNegative()) {
293 IsSignBitSet() ? result.value.MASKL(1) : result.value.HUGE();
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp478 adjust.Normalize(IsSignBitSet(), noClipExponent, Fraction::MASKL(1)); in ToWholeNumber()