hildjj / node-cbor

Encode and decode CBOR documents, with both easy mode, streaming mode, and SAX-style evented mode.
MIT License
357 stars 73 forks source link

Fixes #97 #98

Closed hildjj closed 5 years ago

hildjj commented 5 years ago

Generate single-precision floats when they are equivalent to their double-precision representation, even when not in canonical mode. Always generate singles for Float32Array, and always generate doubles for Float64Array.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling ee4ab054521d0e46817d059a6e39286e4b138028 on fround into 474fb2bd7328cba3e9c9b416d5248f809983d07e on master.