Unverified Commit 77069453 authored by Joseph Huber's avatar Joseph Huber Committed by GitHub
Browse files

[libc] Work around incorrect fmin/fmax results for +/-x (#83158)

Summary:
The IEEE 754 standard as of the 2019 revision states that for fmin -0.0
is always less than 0.0 and for fmax 0.0 is always greater than 0.0.
These are currently not respected by the builtin value and thus cause
the tests to fail. This patch works around it in the implementation for
now by explicitly modifying the sign bit.
parent 9106b58c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment