Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: d791b98e37e2fc86c2d192b6d09df84fbd4f0edb https://github.com/WebKit/WebKit/commit/d791b98e37e2fc86c2d192b6d09df84fbd4f0edb Author: Ahmad Saleem <ahmad.saleem792+git...@gmail.com> Date: 2025-03-09 (Sun, 09 Mar 2025)
Changed paths: M Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h M Source/WebCore/xml/XPathFunctions.cpp Log Message: ----------- Use `std::isfinite(x)` instead of `!std::isnan(x) && !std::isinf(x)` in WebKit https://bugs.webkit.org/show_bug.cgi?id=289423 rdar://146588825 Reviewed by Abrar Rahman Protyasha. This patch replaces leverages `std::isfinite`, which already ensures that the value is not 'NaN' or 'isfinite'. * Source/JavaScriptCore/wasm/js/JSWebAssemblyHelpers.h: (JSC::toNonWrappingUint32): * Source/WebCore/xml/XPathFunctions.cpp: (WebCore::XPath::FunRound::round): Canonical link: https://commits.webkit.org/291862@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes