[libc-commits] [libc] [libc][math][c23] add c23 floating point fmaximum and fminimum functions. (PR #86016)
via libc-commits
libc-commits at lists.llvm.org
Sat Mar 23 20:51:06 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()) {
----------------
lntue wrote:
Remove the curly braces `{}` around a single statement after `if`. Same as above and below.
https://github.com/llvm/llvm-project/pull/86016
More information about the libc-commits
mailing list