Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 805ad6bfc4b6fd140f31291b35889f1d52b8a2f4
https://github.com/WebKit/WebKit/commit/805ad6bfc4b6fd140f31291b35889f1d52b8a2f4
Author: Yusuke Suzuki <[email protected]>
Date: 2026-01-04 (Sun, 04 Jan 2026)
Changed paths:
M JSTests/stress/math-hypot.js
Log Message:
-----------
[JSC] Make math-hypot.js tolerant against platform's std::hypot difference
https://bugs.webkit.org/show_bug.cgi?id=304895
rdar://167491232
Reviewed by Sosuke Suzuki.
Due to libm's different implementations in each platform, std::hypot
result can be slightly different. This patch introduces
shouldBeCloseEnough which accepts some epsilons from the results.
* JSTests/stress/math-hypot.js:
(shouldBeCloseEnough):
Canonical link: https://commits.webkit.org/305088@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications