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

Support special decimal values. #8

Open
jbearden0 opened this issue Nov 18, 2014 · 0 comments
Open

Support special decimal values. #8

jbearden0 opened this issue Nov 18, 2014 · 0 comments
Assignees

Comments

@jbearden0
Copy link
Owner

Since Java's BigDecimal does not support special values, we need to extend the class to handle that. Special values are:

  • Positive infinity is encoded as "Infinity".
  • Negative infinity is encoded as "-Infinity".
  • Quiet not-a-number is encoded as either "NaN" or "-NaN".
  • Signaling not-a-number is encoded as either "sNaN" or "-sNaN".
@jbearden0 jbearden0 self-assigned this Nov 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant