[libc-commits] [libc] [libc][math][c23] add c23 floating point fmaximum and fminimum functions. (PR #86016)

Job Henandez Lara via libc-commits libc-commits at lists.llvm.org
Sat Mar 23 21:01:43 PDT 2024


================
@@ -64,16 +64,14 @@ LIBC_INLINE T fmaximum(T x, T y) {
 
   if (bitx.is_nan()) {
     return x;
-  } else if (bity.is_nan()) {
+  }
+  if (bity.is_nan()) {
----------------
Jobhdez wrote:

ok, I will do that. thanks

https://github.com/llvm/llvm-project/pull/86016


More information about the libc-commits mailing list