cbor-wg/cddl

Specify types of literal numbers

Closed this issue · 0 comments

Does the CDDL type 1 include CBOR floating values equal to 1.0? Does the range 1..2 include 1.5? Does the CDDL type 1.0 include the CBOR integer value 1?

This seems likely to cause interoperability problems if it's not specified, especially now that the CBOR spec is clear that integer 1 is a different value from floating 1.0.