Skip to content

.min and .floor operations for f64 types are non-functional on MIPS #34906

Closed
@johnnyman727

Description

@johnnyman727

I'm building Rust code for Tessel 2 using some instructions created by @badboy here.

Simple scripts compiled on the Rust playground and my personal computer work fine but fail for different reasons on Tessel (which has a MIPS architecture).

let testVal: f64 = 546.54;
assert!(testVal.floor(), 546); // Returns 546.54 instead
assert!(testVal.min(0)); // Returns 546.54 instead

Let me know if there are any other details I can provide to help debug!

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