[libc-commits] [libc] [libc] Add is_fixed_point type trait. (PR #81263)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Mon Feb 12 01:02:32 PST 2024


================
@@ -0,0 +1,20 @@
+//===-- C standard library header stdfix.h --------------------------------===//
+//
+// 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_STDFIX_H
+#define LLVM_LIBC_STDFIX_H
+
+#include <__llvm-libc-common.h>
+#include <llvm-libc-macros/stdfix-macros.h>
+
+// From N1169 standard:
+// https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1169.pdf
+
+%%public_api()
+
+#endif // LLVM_LIBC_STDFIX_H
----------------
gchatelet wrote:

missing empty line

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


More information about the libc-commits mailing list