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 a method in JsonParser to allow checking for "NaN" values #314

Closed
cowtowncoder opened this issue Aug 22, 2016 · 0 comments
Closed

Add a method in JsonParser to allow checking for "NaN" values #314

cowtowncoder opened this issue Aug 22, 2016 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

Currently some backends allow use and decoding of various NaN values (like negative/positive infinity, not-a-number from division by zero), but there is no way to check whether value might be such.
This can complicate handling for cases like:

FasterXML/jackson-databind#1315

because whereas double/Double may represent such values, BigDecimal can not.

So it would make sense to allow checking for such status, if that is feasible to do.

@cowtowncoder cowtowncoder changed the title (2.9) Add a method in JsonParser to allow checking for "NaN" values Add a method in JsonParser to allow checking for "NaN" values Nov 6, 2016
@cowtowncoder cowtowncoder modified the milestones: 2.9.0.p, 2.9.0.pr2 Mar 10, 2017
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