diff --git a/AK/Math.h b/AK/Math.h index d063d5bc5c..99e839c6c0 100644 --- a/AK/Math.h +++ b/AK/Math.h @@ -502,23 +502,6 @@ constexpr T sqrt(T x) #endif } -template -constexpr T rsqrt(T x) -{ -#if ARCH(AARCH64) - AARCH64_INSTRUCTION(frsqrte, x); -#elif ARCH(X86_64) - if constexpr (IsSame) { - float res; - asm("rsqrtss %1, %0" - : "=x"(res) - : "x"(x)); - return res; - } -#endif - return (T)1. / sqrt(x); -} - template constexpr T cbrt(T x) {