Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float encoding issue #10

Open
customlogic opened this issue Jul 19, 2013 · 0 comments
Open

Float encoding issue #10

customlogic opened this issue Jul 19, 2013 · 0 comments

Comments

@customlogic
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant