BiSON.js icon indicating copy to clipboard operation
BiSON.js copied to clipboard

Float encoding issue

Open customlogic opened this issue 12 years ago • 0 comments

Hi Ivo,

Thanks for the library and your generosity in sharing it with us all.

I've been having problems encoding certain floating point numbers. I've made a few hacks to my local version that seem to be working, but it's all a bit dodgy.

Any way, to see the issue yourself, try the following numbers: -33.2636 267.6285 532.3222

if you encode them, then decode them you'll get completely different numbers or "undefined" in the binary itself

J

customlogic avatar Jul 19 '13 06:07 customlogic