Uh oh!
There was an error while loading. Please reload this page.
Fix NaN handling in is_sign_negative/positive - #42431
Conversation
rust-highfive
commented
Jun 4, 2017
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
I'm more surprised that it returns true for "-0.0, NaNs with negative sign, and negative infinity". I would not expect those cases to have a positive sign.
8c1ee68 to
0853ec5Comparenatboehm
commented
Jun 5, 2017
It looks like some tests are failing. |
This is not supposed to be in a landable state until we reach some concensus anyway. |
arielb1
commented
Jun 20, 2017
What's the status of this @nagisa? Just checking in to make sure it isn't getting lost. |
alexcrichton
commented
Jun 20, 2017
Discussed during libs triage the conclusion was that this seems good to land! @nagisa want to fix up the tests and I'll r+? |
alexcrichton
commented
Jun 22, 2017
Looks like there's some Travis errors? |
arielb1
commented
Jun 27, 2017
@nagisa is this ready for review? |
nagisa
commented
Jun 27, 2017
@alexcrichton tests pass. |
alexcrichton
commented
Jun 27, 2017
@bors: r+ |
bors
commented
Jun 27, 2017
📌 Commit 3b9fe77 has been approved by |
alexcrichton
commented
Jun 27, 2017
@bors: r+ |
bors
commented
Jun 27, 2017
💡 This pull request was already approved, no need to approve it again.
|
bors
commented
Jun 27, 2017
📌 Commit 3b9fe77 has been approved by |
bors
commented
Jun 28, 2017
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.
bors
commented
Jun 28, 2017
☀️ Test successful - status-appveyor, status-travis |
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.