[all-commits] [llvm/llvm-project] 056b40: [libc][NFC] refactor fmin and fmax (#86718)

Job Henandez Lara via All-commits all-commits at lists.llvm.org
Wed Mar 27 20:55:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 056b4043543cbc9e4ecad183db185bd26324b5b1
      https://github.com/llvm/llvm-project/commit/056b4043543cbc9e4ecad183db185bd26324b5b1
  Author: Job Henandez Lara <hj93 at protonmail.com>
  Date:   2024-03-27 (Wed, 27 Mar 2024)

  Changed paths:
    M libc/src/__support/FPUtil/BasicOperations.h

  Log Message:
  -----------
  [libc][NFC] refactor fmin and fmax (#86718)

Hello,

So, I worked on the fmaximum and fminimum functions recently and the
reviewers suggested the structure:

```
if (bitsx ...)
  return ...;
if (bitsy ..)
  return 
...
return ...;
```
So I went ahead and did the same for fmin and fmax. I hope this isnt an
issue for you all. thanks.

---------

Co-authored-by: Job Hernandez <h93 at protonmail.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