Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

num-traits-0.1.39 beta regression #43674

Closed
est31 opened this issue Aug 5, 2017 · 6 comments
Closed

num-traits-0.1.39 beta regression #43674

est31 opened this issue Aug 5, 2017 · 6 comments
Labels
C-bug Category: This is a bug. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@est31
Copy link
Member

est31 commented Aug 5, 2017

num-traits version 0.1.39 regressed from stable to beta (full log):

Aug 03 12:25:49.119 INFO blam! ---- src/float.rs - float::Float::is_sign_negative (line 348) stdout ----
Aug 03 12:25:49.119 INFO blam! 	thread 'rustc' panicked at 'test executable failed:
Aug 03 12:25:49.119 INFO blam! 
Aug 03 12:25:49.119 INFO blam! thread 'main' panicked at 'assertion failed: !nan.is_sign_positive() && !nan.is_sign_negative()', <anon>:14:0

cc @cuviper @hauleth

@arielb1
Copy link
Contributor

arielb1 commented Aug 5, 2017

This has been fixed in 0.1.40.

@arielb1 arielb1 added regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 5, 2017
@alexcrichton
Copy link
Member

@arielb1 you tagged this T-compiler but this seems more T-libs to mean, so I'm gonna switch it over (but please correct me if I'm wrong!)

@alexcrichton alexcrichton added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. I-nominated and removed T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 5, 2017
@cuviper
Copy link
Member

cuviper commented Aug 5, 2017

num just forwards to std behavior, but had a test that assumed the old behavior with NaN. If that change in behavior is still deemed desirable, then I think it's fine for num.

@est31
Copy link
Member Author

est31 commented Aug 5, 2017

I think it is deemed desirable cc @nagisa

@nagisa
Copy link
Member

nagisa commented Aug 5, 2017

Making new methods and deprecating these was considered and decided to be not worth it, so IME it is still intentional breakage.

@Mark-Simulacrum Mark-Simulacrum added the C-bug Category: This is a bug. label Aug 10, 2017
@alexcrichton
Copy link
Member

The libs team decided today that this is "accepted breakage", so I'm going to close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

6 participants