[libc-commits] [libc] [libc] Make fenv and math tests preserve fenv_t state (PR #89658)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Apr 23 10:49:16 PDT 2024


================
@@ -0,0 +1,24 @@
+//===-- List of all FE_* constants for tests -----------------------------===//
+//
+// 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_TEST_SRC_FENV_EXCEPTS_H
+#define LLVM_LIBC_TEST_SRC_FENV_EXCEPTS_H
+
+#include "hdr/fenv_macros.h"
+
+constexpr int EXCEPTS[] = {
----------------
michaelrj-google wrote:

is there a reason for changing the `EXCEPTS` type from `uint16_t` to `int`?

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


More information about the libc-commits mailing list