mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
fcd82d3dc3
See #18351 for details on the specifications. This is the same thing NetBSD does. BeOS R5 defined these values differently than we did even before this commit, and it does not seem to have caused problems then, so this should be fine. While technically an ABI break, in practice these values are not always differentiated on other platforms, and it appears musl's code triggers divide-by-zero exceptions on purpose before it returns this value, anyway. Fixes #18351.