]> git.lizzy.rs Git - rust.git/commit
Make sure the float comparison output is consistent with the expected
authorkennytm <kennytm@gmail.com>
Wed, 16 May 2018 20:24:10 +0000 (04:24 +0800)
committerkennytm <kennytm@gmail.com>
Thu, 17 May 2018 09:18:30 +0000 (17:18 +0800)
commit50bc72df448dc284e4ffdc296a85aad3282dc99e
tree4d092a01f742955d371e6aff79b1322907e4fabd
parented9a29a976f8b73f3fc91a10d0b5addd86a394c7
Make sure the float comparison output is consistent with the expected
behavior when NaN is involved.
src/librustc_mir/interpret/operator.rs
src/test/run-pass/issue-50811.rs [new file with mode: 0644]