Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JSON is slightly worse than you describe - the JSON language doesn’t restrict you to 64bit floats, but most implementations do as you describe. On the other hand, the JSON language doesn’t support NaNs or infinities, so the union of language and implementation means that in practice JSON is strictly weaker than IEEE 754.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: