Skip to content

Serialization of float minus zero should include the minus sign. #20596

Closed
@SimonSapin

Description

@SimonSapin

Test case: println!("{}", -0_f64), expected result -0, actual result: 0.

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