Skip to content

float::round doesn't #3281

Closed
Closed
@jesse99

Description

@jesse99

Doesn't work as expected that is. Reasoning by analogy with the int modules I would expect that float::round(5.8) returns 6.0, but instead you get: error: mismatched types: expected core::libc::types::os::arch::c95::c_double but found float.

Looking at the code I expect that more that just round has this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions