[libc-commits] [libc] [libc][mathvec] Initial commit for LIBC vector math component (PR #173058)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri Jan 9 13:48:33 PST 2026


================
@@ -0,0 +1,40 @@
+//===-- Common constants for mathvec functions ------------------*- 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___SUPPORT_MATHVEC_COMMON_CONSTANTS_H
+#define LLVM_LIBC_SRC___SUPPORT_MATHVEC_COMMON_CONSTANTS_H
+
+namespace LIBC_NAMESPACE_DECL {
+
+namespace common_constants_internal {
----------------
michaelrj-google wrote:

nit: given that this is a set of vector math specific constants does it make sense to put them in the `mathvec` namespace?

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


More information about the libc-commits mailing list