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

Already on GitHub? Sign in to your account

Doesn't support -0.0 #147

Cary opened this Issue Sep 18, 2012 · 3 comments


None yet
2 participants

Cary commented Sep 18, 2012

Negative floating-point -0.0 was not supported, an instead changed into NaN. (-0, the integer, was supported.)

A sample is {"a":-0.0}


stig commented Sep 18, 2012

That bug was fixed 1 year ago. Please upgrade :-)

Tests here:


@stig stig closed this Sep 18, 2012


Cary commented Sep 20, 2012

my mistake.
the problem is "-0.0" not "-0"

did you try -0.0?


stig commented Sep 22, 2012

I don't appear to have a specific test for -0.0, no. I'll try to look into it. Feel free to re-open this ticket, for the moment.


On 20 Sep 2012, at 02:58, Cary Yang notifications@github.com wrote:

my mistake.
the problem is "-0.0" not "-0"

did you try -0.0?

Reply to this email directly or view it on GitHub.

stig added a commit that referenced this issue Sep 26, 2012

michaelochs pushed a commit to rockabyte/json-framework that referenced this issue Feb 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment