We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471ef62 commit f7387ddCopy full SHA for f7387dd
libc/src/__support/math/rsqrtf.h
@@ -60,7 +60,7 @@ LIBC_INLINE static constexpr float rsqrtf(float x) {
60
61
// TODO: add float based approximation when
62
// LIBC_TARGET_CPU_HAS_FPU_DOUBLE is not defined
63
- double result = 1.0f / fputil::sqrt<double>(fputil::cast<double>(x));
+ double result = 1.0 / fputil::sqrt<double>(fputil::cast<double>(x));
64
65
return fputil::cast<float>(result);
66
}
0 commit comments