diff options
Diffstat (limited to 'libc/src/math/generic/expm1f.cpp')
| -rw-r--r-- | libc/src/math/generic/expm1f.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/math/generic/expm1f.cpp b/libc/src/math/generic/expm1f.cpp index 037e60021b29..6b9f07476a65 100644 --- a/libc/src/math/generic/expm1f.cpp +++ b/libc/src/math/generic/expm1f.cpp @@ -104,7 +104,7 @@ LLVM_LIBC_FUNCTION(float, expm1f, (float x)) { // intermediate results as it is more efficient than using an emulated // version of FMA. #if defined(LIBC_TARGET_CPU_HAS_FMA) - return fputil::fma(x, x, x); + return fputil::fma<float>(x, x, x); #else double xd = x; return static_cast<float>(fputil::multiply_add(xd, xd, xd)); |
