[libc-commits] [libc] [libc] Make ceilf128 use the emulated float128 type (PR #207735)

via libc-commits libc-commits at lists.llvm.org
Fri Aug 14 13:10:49 PDT 2026


================
@@ -9,21 +9,16 @@
 #ifndef LLVM_LIBC_SRC___SUPPORT_MATH_CEILF128_H
 #define LLVM_LIBC_SRC___SUPPORT_MATH_CEILF128_H
 
-#include "include/llvm-libc-types/float128.h"
-
-#ifdef LIBC_TYPES_HAS_NATIVE_FLOAT128
-
 #include "src/__support/FPUtil/NearestIntegerOperations.h"
+#include "src/__support/FPUtil/float128.h"
 #include "src/__support/macros/config.h"
 
 namespace LIBC_NAMESPACE_DECL {
 namespace math {
+using LIBC_NAMESPACE::fputil::Float128;
----------------
overmighty wrote:

Nit: style.

```suggestion
namespace math {

using LIBC_NAMESPACE::fputil::Float128;
```

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


More information about the libc-commits mailing list