Skip to content

saturating-float-casts test from rustc test suite is panicking #737

Closed
@bjorn3

Description

@bjorn3
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `170141183460469231731687303715884105727`,
 right: `0`: run-time f32 -> i128', example/saturating-float-casts.rs:95:9
stack backtrace:
   0: backtrace::backtrace::libunwind::trace
             at /home/bjorn/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.38/src/backtrace/libunwind.rs:88
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
./test.sh: regel 59: 17537 Afgebroken              ./target/out/saturating_float_casts

cc #381

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions