[libc-commits] [libc] cd1d71c - [libc][Obvious] Remove constexpr qualifier from ExpBase::powb_lo.
Tue Ly via libc-commits
libc-commits at lists.llvm.org
Mon Sep 19 06:30:51 PDT 2022
Author: Tue Ly
Date: 2022-09-19T09:29:37-04:00
New Revision: cd1d71c5f1a4595ea045a7a314fc33a6e093434e
URL: https://github.com/llvm/llvm-project/commit/cd1d71c5f1a4595ea045a7a314fc33a6e093434e
DIFF: https://github.com/llvm/llvm-project/commit/cd1d71c5f1a4595ea045a7a314fc33a6e093434e.diff
LOG: [libc][Obvious] Remove constexpr qualifier from ExpBase::powb_lo.
Added:
Modified:
libc/src/math/generic/explogxf.h
Removed:
################################################################################
diff --git a/libc/src/math/generic/explogxf.h b/libc/src/math/generic/explogxf.h
index ed83e44e72e9a..482f722494e3b 100644
--- a/libc/src/math/generic/explogxf.h
+++ b/libc/src/math/generic/explogxf.h
@@ -56,7 +56,7 @@ struct ExpBase {
0x1.ffffffffe5bc8p-2, 0x1.555555555cd67p-3, 0x1.5555c2a9b48b4p-5,
0x1.11112a0e34bdbp-7};
- static constexpr double powb_lo(double dx) {
+ static double powb_lo(double dx) {
using fputil::multiply_add;
double dx2 = dx * dx;
double c0 = 1.0 + dx;
More information about the libc-commits
mailing list