[all-commits] [llvm/llvm-project] f961b6: [APFloat] Properly implement DoubleAPFloat::compar...

David Majnemer via All-commits all-commits at lists.llvm.org
Thu Aug 21 15:54:15 PDT 2025


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

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

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

The prior implementation would treat X+Y and X-Y as having equal
magnitude.  Rework the implementation to be more resilient.



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