Skip to content

Int <-> float conversion broken by #192 #197

Closed
@est31

Description

@est31

#192 seems to have broken conversion between 128 bit ints and floats (rust-lang/rust#44785):

[01:01:43] ------------------------------------------
[01:01:43] stderr:
[01:01:43] ------------------------------------------
[01:01:43] thread 'main' panicked at 'assertion failed: `(left == right)`
[01:01:43]   left: `0`,
[01:01:43]  right: `547625059298595101446575784722432`', /checkout/src/test/run-pass/u128.rs:56:4
[01:01:43] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[01:01:43] 
[01:01:43] ------------------------------------------

cc @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions