[libc-commits] [libc] [libc] Float80 Emulation in LLVM libc (PR #214447)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 20 08:52:19 PDT 2026


================
@@ -0,0 +1,118 @@
+//===-- Unittests for Float80 emulated type ------------------------------===//
+//
+// 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 "hdr/limits_macros.h"
+#include "src/__support/FPUtil/FEnvImpl.h"
+#include "src/__support/FPUtil/float80.h"
+#include "test/UnitTest/FPMatcher.h"
+#include "test/UnitTest/Test.h"
+
+using LIBC_NAMESPACE::Sign;
+using LIBC_NAMESPACE::fputil::Float80;
+using FPBits = LIBC_NAMESPACE::fputil::FPBits<Float80>;
+
+TEST(LlvmLibcFloat80Test, temp) { Float80 a(1.0f); }
----------------
overmighty wrote:

Test doesn't have any asserts or expects.

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


More information about the libc-commits mailing list