Skip to content

canonicalize NaNs #20

Open
Open
@rvolosatovs

Description

@rvolosatovs

floating point number NaNs have exactly one canonical representation in component-model specification, which we should match to be compliant.

Basically this is about adapting https://github.com/WebAssembly/component-model/blob/c3ef2a99f7c70b8189a889314569c0ce38c0433b/design/mvp/canonical-abi/definitions.py#L415-L441 in float encoding (although I do think we can be more lenient of decoding side and accept any NaN)

Refs WebAssembly/component-model#336 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgowRPC Go supporthelp wantedExtra attention is neededrustwRPC Rust support

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions