mcollina/msgpack5

Question about handling of NaN

valichek opened this issue · 2 comments

I'm using this lib in browser and noticed that NaN is encoded to float32 by default. Would expect it to raise encoding error, same as undefined.

Possibly is a bug! Would you like to send a PR?

@mcollina yes, going to prepare it soon