[libc] [llvm] [libc][c23][fenv] Implement fetestexceptflag (PR #87828)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 10:36:14 PDT 2024


================
@@ -0,0 +1,20 @@
+//===-- Implementation header for fetestexceptflag --------------*- C++ -*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_FENV_FETESTEXCEPTFLAG_H
+#define LLVM_LIBC_SRC_FENV_FETESTEXCEPTFLAG_H
+
+#include <fenv.h>
----------------
lntue wrote:

Probably you can wait for https://github.com/llvm/llvm-project/pull/88467 to use `hdr/fexcept_t.h` instead.

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


More information about the llvm-commits mailing list