[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 23:29:32 PDT 2026


================
@@ -11,8 +11,10 @@
 
 namespace LIBC_NAMESPACE_DECL {
 
+using LIBC_NAMESPACE::fputil::Float128;
+
 LLVM_LIBC_FUNCTION(float128, ceilf128, (float128 x)) {
-  return math::ceilf128(x);
+  return fputil::cast<float128>(math::ceilf128(Float128(x)));
----------------
Sukumarsawant wrote:

only to the specific file you mean ?

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


More information about the libc-commits mailing list