[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,29 @@
+//===-- Common utils for exp function ---------------------------*- 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_EXP_UTILS_H
+#define LLVM_LIBC_SRC___SUPPORT_MATHVEC_EXP_UTILS_H
+
+#include "src/__support/CPP/simd.h"
+#include "src/__support/mathvec/common_constants.h"
+
+namespace LIBC_NAMESPACE_DECL {
+
----------------
michaelrj-google wrote:

if this function is also in the `mathvec` namespace then it could reference `EXP_MANTISSA` directly

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


More information about the libc-commits mailing list