diff options
author | Jameson Nash <vtjnash@gmail.com> | 2020-11-06 13:35:47 -0500 |
---|---|---|
committer | Jameson Nash <vtjnash@gmail.com> | 2020-11-28 10:48:40 -0500 |
commit | dde98158b59f6686c95b7ef41a32b5093e0d0956 (patch) | |
tree | d3e9771a16d4dcf57394d759b9353183d70c200a /docs/src/conf.py | |
parent | 8d5af5e70e7e894a4c93e752add75bac2df12ba8 (diff) | |
download | libuv-dde98158b59f6686c95b7ef41a32b5093e0d0956.tar.gz libuv-dde98158b59f6686c95b7ef41a32b5093e0d0956.zip |
test: ensure reliable floating point comparison
Without `volatile`, the x87 hardware may re-organize the comparison math
and end up with the wrong answer.
Fixes: one bullet point item of
https://github.com/libuv/libuv/issues/2655 and the tests from
https://github.com/libuv/libuv/pull/849 in certain build configurations
PR-URL: https://github.com/libuv/libuv/pull/2747
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src/conf.py')
0 files changed, 0 insertions, 0 deletions