Skip to content

from_str_radix_float gives incorrect (/imprecise) results on beta and nightly #25895

Closed
@spaolacci

Description

@spaolacci

str::parse("2.99") correctly parses to 2.99 in stable branch, but less correctly to 2.9899999999999998 on both beta and nightly.

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