Skip to content

msgpack5 throws when encoding NaN, contrary to spec #93

@ninevra

Description

@ninevra

Since #75, msgpack5 throws an error when attempting to encode NaN. The error states that NaN is not encodable in msgpack!. This appears to be contrary to the spec, which states that "Float represents a IEEE 754 double precision floating point number including NaN and Infinity".

Of note: msgpack5 already correctly deserializes NaN.

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