[libc-commits] [libc] [libc][math][c23] Add atanhf16 C23 math function. (PR #132612)
via libc-commits
libc-commits at lists.llvm.org
Tue Apr 15 05:46:59 PDT 2025
================
@@ -13,6 +13,42 @@
namespace LIBC_NAMESPACE_DECL {
+// Lookup table for logf(f) = logf(1 + n*2^(-7)) where n = 0..127,
+// computed and stored as float precision constants.
+const float ONE_OVER_F_FLOAT[128] = {
----------------
overmighty wrote:
Would be nice to add Sollya commands to generate this lookup table for easy reproducibility.
https://github.com/llvm/llvm-project/pull/132612
More information about the libc-commits
mailing list