Skip to content

SR-11150: NSDecimalNumber .multiplying(byPowerOf10:) produces incorrect results. #2418

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

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Jul 17, 2019

  • Call NSDecimalMultiplyByPowerOf10() instead of NSDecimalPower() to
    multiply the number by 10 raised to the given power, not raise
    the number to a given power.

…ct results.

- Call NSDecimalMultiplyByPowerOf10() instead of NSDecimalPower() to
  multiply the number by 10 raised to the given power, not raise
  the number to a given power.
@spevans
Copy link
Contributor Author

spevans commented Jul 17, 2019

@swift-ci test linux

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.

2 participants