diff options
Diffstat (limited to 'libc/src/math/generic/hypotf.cpp')
| -rw-r--r-- | libc/src/math/generic/hypotf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/math/generic/hypotf.cpp b/libc/src/math/generic/hypotf.cpp index ffbf706aefaf..b09d09ad7f9c 100644 --- a/libc/src/math/generic/hypotf.cpp +++ b/libc/src/math/generic/hypotf.cpp @@ -42,7 +42,7 @@ LLVM_LIBC_FUNCTION(float, hypotf, (float x, float y)) { double err = (x_sq >= y_sq) ? (sum_sq - x_sq) - y_sq : (sum_sq - y_sq) - x_sq; // Take sqrt in double precision. - DoubleBits result(fputil::sqrt(sum_sq)); + DoubleBits result(fputil::sqrt<double>(sum_sq)); if (!DoubleBits(sum_sq).is_inf_or_nan()) { // Correct rounding. |
