summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/erff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/generic/erff.cpp')
-rw-r--r--libc/src/math/generic/erff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/math/generic/erff.cpp b/libc/src/math/generic/erff.cpp
index a7b0897c3b58..d63fb8e31384 100644
--- a/libc/src/math/generic/erff.cpp
+++ b/libc/src/math/generic/erff.cpp
@@ -154,7 +154,7 @@ LLVM_LIBC_FUNCTION(float, erff, (float x)) {
double xd = static_cast<double>(x);
double xsq = xd * xd;
- const uint32_t EIGHT = 3 << FPBits::FloatProp::MANTISSA_WIDTH;
+ const uint32_t EIGHT = 3 << FPBits::MANTISSA_WIDTH;
int idx = static_cast<int>(FPBits(x_abs + EIGHT).get_val());
double x4 = xsq * xsq;