Skip to content

num-traits-0.1.39 beta regression #43674

Closed

Description

@est31

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

Activity

  1. arielb1 commented on Aug 5, 2017

    @arielb1
    Contributor
  2. added
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Aug 5, 2017
  3. alexcrichton commented on Aug 5, 2017

    @alexcrichton
    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!)

  4. added
    T-libs-api[DEPRECATED; DO NOT USE]
    and removed
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Aug 5, 2017
  5. cuviper commented on Aug 5, 2017

    @cuviper
    Member

    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.

  6. est31 commented on Aug 5, 2017

    @est31
    MemberAuthor

    I think it is deemed desirable cc @nagisa

  7. nagisa commented on Aug 5, 2017

    @nagisa
    Member

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

  8. alexcrichton commented on Aug 22, 2017

    @alexcrichton
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-libs-api[DEPRECATED; DO NOT USE]regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions