Skip to content

Positive and Negative Zero Print Incorrect Precision #641

@BebeSparkelSparkel

Description

@BebeSparkelSparkel

The standard formatter outputs the incorrect precision for zero and negative zero due to the specialStr function not taking the specified precision into account and always outputting 0.0 and -0.0.

I have added tests in #638 that find this bug and #636 fixes this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions