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

Closed
Cary opened this Issue Sep 18, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

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}

Owner

stig commented Sep 18, 2012

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

Tests here:

https://github.com/stig/json-framework/tree/master/Tests/Data/valid/number/integer

@stig stig closed this Sep 18, 2012

Contributor

Cary commented Sep 20, 2012

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

did you try -0.0?

Owner

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.

Stig

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