[all-commits] [llvm/llvm-project] e789f8: [libc][math] Add Generic Comparison Operations for...

Krishna Pandey via All-commits all-commits at lists.llvm.org
Tue Jul 22 11:05:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e789f8bdf3691e8e5c4b8d0c0d90fc46cd015fee
      https://github.com/llvm/llvm-project/commit/e789f8bdf3691e8e5c4b8d0c0d90fc46cd015fee
  Author: Krishna Pandey <kpandey81930 at gmail.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M libc/src/__support/FPUtil/CMakeLists.txt
    A libc/src/__support/FPUtil/comparison_operations.h
    M libc/test/src/__support/FPUtil/CMakeLists.txt
    A libc/test/src/__support/FPUtil/comparison_operations_test.cpp

  Log Message:
  -----------
  [libc][math] Add Generic Comparison Operations for floating point types (#144983)

The PR implements the following generic comparison operation functions
for floating point types along with unittests:
- `fputil::equals`
- `fputil::less_than`
- `fputil::less_than_or_equals`
- `fputil::greater_than`
- `fputil::greater_than_or_equals`

---------

Signed-off-by: krishna2803 <kpandey81930 at gmail.com>
Signed-off-by: Krishna Pandey <kpandey81930 at gmail.com>
Co-authored-by: OverMighty <its.overmighty at gmail.com>



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