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

NODE-2431: Reduce floating point precision required of extended json implementations #369

Merged
merged 2 commits into from
Jul 8, 2020

Conversation

nbbeeken
Copy link
Contributor

@nbbeeken nbbeeken commented Jul 7, 2020

https://jira.mongodb.org/browse/NODE-2431

Here's the fix for the tests sync'ed from bson-corpus and an update to the toExtendedJSON function for the Double type to output the correct precision.
All of our bson-corpus json files were marked as executable, that got changed when I ran the sync script which is why every file will show up with a change. (We'll see how GH ui shows this)

@nbbeeken nbbeeken requested review from emadum and mbroadst July 7, 2020 21:59
Copy link
Member

@mbroadst mbroadst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbroadst
Copy link
Member

mbroadst commented Jul 8, 2020

@nbbeeken we'll need to backport the fix to the 1.0-branch as well

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