]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #42431 - nagisa:core-float-2, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 28 Jun 2017 03:41:22 +0000 (03:41 +0000)
committerbors <bors@rust-lang.org>
Wed, 28 Jun 2017 03:41:22 +0000 (03:41 +0000)
Fix NaN handling in is_sign_negative/positive

This would be my proposed fix for the #42425 provided we decide it is indeed a problem.

Note this would technically be a breaking change to a stable API. We might want to consider deprecating these methods and adding new ones.

1  2 
src/libcore/num/f32.rs
src/libcore/num/f64.rs
src/libstd/f32.rs
src/libstd/f64.rs

Simple merge
Simple merge
Simple merge
Simple merge