[all-commits] [llvm/llvm-project] 0a23b2: [APFloat] Properly implement DoubleAPFloat::roundT...

David Majnemer via All-commits all-commits at lists.llvm.org
Wed Aug 6 10:42:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a23b22d1d43b2816e67aa8c328365b9bf114c74
      https://github.com/llvm/llvm-project/commit/0a23b22d1d43b2816e67aa8c328365b9bf114c74
  Author: David Majnemer <david.majnemer at gmail.com>
  Date:   2025-08-06 (Wed, 06 Aug 2025)

  Changed paths:
    M llvm/lib/Support/APFloat.cpp
    M llvm/unittests/ADT/APFloatTest.cpp

  Log Message:
  -----------
  [APFloat] Properly implement DoubleAPFloat::roundToIntegral

The previous implementation did not correctly handle double-doubles like
0x1p100 + 0x1p1 as the low order component would need more than a
106-bit significand to represent.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list