[all-commits] [llvm/llvm-project] 1bb8b6: [libc][math] Fix incorrect logic in fputil::generi...

OverMighty via All-commits all-commits at lists.llvm.org
Tue Mar 18 07:04:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bb8b656a9dcdae3863508b8f33bd713e953636d
      https://github.com/llvm/llvm-project/commit/1bb8b656a9dcdae3863508b8f33bd713e953636d
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/add_sub.h
    M libc/test/src/math/AddTest.h
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/SubTest.h
    A libc/test/src/math/add_same_type_test.cpp
    M libc/test/src/math/smoke/AddTest.h
    M libc/test/src/math/smoke/CMakeLists.txt
    M libc/test/src/math/smoke/SubTest.h
    A libc/test/src/math/smoke/add_same_type_test.cpp
    A libc/test/src/math/smoke/sub_same_type_test.cpp
    A libc/test/src/math/sub_same_type_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][math] Fix incorrect logic in fputil::generic::add_or_sub (#116129)

Fixes incorrect logic that went unnoticed until the function was tested
with output and input types that have the same underlying floating-point
format.



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