ipld / specs

Content-addressed, authenticated, immutable data structures
Other
592 stars 108 forks source link

data-model: clarifications for numbers - float & int #344

Closed rvagg closed 3 years ago

rvagg commented 3 years ago

Ref: https://github.com/ipld/specs/issues/342

The main thing this does is rule out IEEE 754 specials NaN, Infinity and -Infinity from the data model. 👍 or 👎 to resolve that issue here.

rvagg commented 3 years ago

Please review my latest commit, I've shuffled things a bit and added more wording to clarify the relationship with IEEE754, added some more to the reasoning behind us not recommending the use of Float and added some examples of possible replacements for it.