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

floating point precision issues in JSON.stringify #30

Closed
drsm opened this issue Jul 2, 2018 · 1 comment
Closed

floating point precision issues in JSON.stringify #30

drsm opened this issue Jul 2, 2018 · 1 comment
Assignees
Labels

Comments

@drsm
Copy link
Contributor

drsm commented Jul 2, 2018

>> JSON.stringify({ x: 0.00000001 })
{"x":0.000000}

#28

@xeioex xeioex self-assigned this Jul 3, 2018
@xeioex xeioex added the bug label Jul 3, 2018
nginx-hg-mirror pushed a commit that referenced this issue Jul 19, 2018
Adding correct dtoa() and strtod() realization.

This fixes #28 and #30 issues on GitHub.
@xeioex
Copy link
Contributor

xeioex commented Jul 19, 2018

Fixed in 7e4611f

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

No branches or pull requests

2 participants