Skip to content

Negative zeros #435

@krlmlr

Description

@krlmlr

Are you expecting this? It's platform-specific, this is for the M1, Linux is different IIRC.

jsonlite::toJSON(-0x0p+0)
#> [-0]
-0x0p+0 == 0
#> [1] TRUE

Created on 2024-02-03 with reprex v2.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions