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

SR-7236: NSDecimalNumber .intValue reporting 0 on numbers with many decimals #2925

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Nov 20, 2020

  • The early check to return 0 if there were too many trailing zeros
    before the decimal point (> UInt64.max) or too many leading zeros
    after the decimal point didnt allow for a large enough negative
    exponent.

  • Also resolves SR-2980

… decimals

- The early check to return 0 if there were too many trailing zeros
  before the decimal point (> UInt64.max) or too many leading zeros
  after the decimal point didnt allow for a large enough negative
  exponent.

- Also resolves SR-2980
@spevans
Copy link
Contributor Author

spevans commented Nov 20, 2020

@swift-ci test

@spevans
Copy link
Contributor Author

spevans commented Dec 3, 2020

@swift-ci test and merge

1 similar comment
@spevans
Copy link
Contributor Author

spevans commented Dec 3, 2020

@swift-ci test and merge

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

Successfully merging this pull request may close these issues.

None yet

2 participants