Skip to content

fix: don't allow f32/f64 NaN or infinity#56

Open
vmx wants to merge 1 commit into
minimally-encoded-cid-tagfrom
nan-inf-long
Open

fix: don't allow f32/f64 NaN or infinity#56
vmx wants to merge 1 commit into
minimally-encoded-cid-tagfrom
nan-inf-long

Conversation

@vmx
Copy link
Copy Markdown
Member

@vmx vmx commented May 13, 2026

The short f16 NaN was already erroring, but the longer f32 and f64 versions should also error. DAG-CBOR does neither support NaN, nor Infinity.

The short f16 NaN was already erroring, but the longer f32 and f64
versions should also error. DAG-CBOR does neither support NaN, nor
Infinity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant