[libc-commits] [libc] [libc][math] small typo (PR #193349)

Kiriti Ponduri via libc-commits libc-commits at lists.llvm.org
Tue Apr 21 15:47:57 PDT 2026


https://github.com/udaykiriti created https://github.com/llvm/llvm-project/pull/193349

None

>From f45e07fd4ee518fd03ff22e6517a09abbc6d74fd Mon Sep 17 00:00:00 2001
From: udaykiriti <udaykiriti624 at gmail.com>
Date: Wed, 22 Apr 2026 04:16:54 +0530
Subject: [PATCH] [libc][math] small typo

Signed-off-by: udaykiriti <udaykiriti624 at gmail.com>
---
 libc/src/__support/math/cosf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/src/__support/math/cosf.h b/libc/src/__support/math/cosf.h
index 4893a436e331e..f6ead968ac26e 100644
--- a/libc/src/__support/math/cosf.h
+++ b/libc/src/__support/math/cosf.h
@@ -170,6 +170,6 @@ LIBC_INLINE constexpr float cosf(float x) {
 
 } // namespace LIBC_NAMESPACE_DECL
 
-#endif // LLVM_LIBC_SRC___SUPPORT_MATH_COSF_H
-
 #endif // LIBC_MATH_HAS_INTERMEDIATE_COMP_IN_FLOAT
+
+#endif // LLVM_LIBC_SRC___SUPPORT_MATH_COSF_H



More information about the libc-commits mailing list