[libc-commits] [libc] [libc][math][c23] Add dadd{l, f128} and ddiv{l, f128} C23 math functions (PR #100456)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 1 13:13:39 PDT 2024


================
@@ -0,0 +1,13 @@
+//===-- Unittests for ddivl -----------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "DivTest.h"
+
+#include "src/math/ddivl.h"
+
+LIST_ADD_TESTS(double, long double, LIBC_NAMESPACE::ddivl)
----------------
overmighty wrote:

So the failing MPFR test (`libc.test.src.math.ddivl_test.__unit__.__NO_FMA_OPT`) is still not being built even in overlay mode. That test that passes is the smoke test (`libc.test.src.math.smoke.ddivl_test.__unit__.__NO_FMA_OPT`).

Are you sure you have MPFR installed on your machine?

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


More information about the libc-commits mailing list