[libc-commits] [libc] [libc][math][c23] Add nanf16 C23 math function (PR #94767)

via libc-commits libc-commits at lists.llvm.org
Fri Jun 7 09:34:39 PDT 2024


================
@@ -0,0 +1,51 @@
+//===-- Unittests for nanf16 ----------------------------------------------===//
+//
+// 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 "src/__support/FPUtil/FPBits.h"
+#include "src/__support/macros/sanitizer.h"
----------------
overmighty wrote:

I think this should be included directly when using `LIBC_HAVE_ADDRESS_SANITIZER`. Other `nan*` tests should probably be updated too.

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


More information about the libc-commits mailing list