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

Add support for int64_t, as a subtype of double #34

Closed
kazuho opened this issue Jun 12, 2014 · 2 comments
Closed

Add support for int64_t, as a subtype of double #34

kazuho opened this issue Jun 12, 2014 · 2 comments

Comments

@kazuho
Copy link
Owner

kazuho commented Jun 12, 2014

Numbers should be parsed as both integers and floats, and if the result is within the bounds of int64_t, the value should be provided to the application via both of get<int64_t>() and get<double>().

By implementing support for integer type this way, we can support users looking for integer support (see #14) without breaking backward compatibility.

@kazuho
Copy link
Owner Author

kazuho commented Jun 13, 2014

The work is under way in kazuho/experiments/int64 branch.

@kazuho
Copy link
Owner Author

kazuho commented Jun 13, 2014

Merged to master in commit 5e06800 (still marked as experimental).

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