[libc-commits] [libc] [libc][mathvec] Vectorise logf (PR #231190)

via libc-commits libc-commits at lists.llvm.org
Wed Oct 21 07:00:13 PDT 2026


================
@@ -38,6 +38,54 @@ LIBC_INLINE_VAR constexpr uint64_t EXP_MANTISSA[64] = {
     0xea4afa2a490da, 0xefa1bee615a27, 0xf50765b6e4540, 0xfa7c1819e90d8,
 };
 
+// Lookup table for ln(1 / R[i]), where R is the reciprocal from the table
+// found in libc/src/__support/math/common_constants.h, specifically optimised
+// for mathvec RN.
----------------
DylanFleming-arm wrote:

Done

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


More information about the libc-commits mailing list