Skip to content

Negative zero #119

Description

@vmx

This is a heads up that negative zero -0.0 is now explicitly forbidden. It was an oversight to allow it. The DAG-CBOR spec was updated and the DASL test suite already has a PR open to update the tests.

As -0.0 and 0.0 are equal according to the IEER 754 spec, I propose serializing a -0.0 with the bytes a 0.0 has.

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