[llvm-branch-commits] [libc] [llvm] [libc] Make next-type functions use the emulated float128 type (PR #217575)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 24 20:22:52 PDT 2026


================
@@ -430,6 +430,9 @@ static_assert(Float128(0.0) ==
 static_assert(Float128(0.0) == LIBC_NAMESPACE::shared::rintf128(Float128(0.0)));
 static_assert(Float128(0.0) ==
               LIBC_NAMESPACE::shared::roundevenf128(Float128(0.0)));
+static_assert(Float128(0.0) ==
+              LIBC_NAMESPACE::shared::nextafterf128(Float128(0.0),
+                                                    Float128(0.0)));
----------------
overmighty wrote:

Please add tests for `nextdownf128` and `nextupf128` as well.

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


More information about the llvm-branch-commits mailing list