diff --git a/AK/Math.h b/AK/Math.h index d7026bb1e5..2af14367dc 100644 --- a/AK/Math.h +++ b/AK/Math.h @@ -577,11 +577,11 @@ ALWAYS_INLINE I round_to(P value) return static_cast(ret); #else if constexpr (IsSame) - return static_cast(llrintl(value)); + return static_cast(__builtin_llrintl(value)); if constexpr (IsSame) - return static_cast(llrint(value)); + return static_cast(__builtin_llrint(value)); if constexpr (IsSame) - return static_cast(llrintf(value)); + return static_cast(__builtin_llrintf(value)); #endif }