We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
require 'bundler/inline' gemfile do source 'https://rubygems.org' gem 'bigdecimal', '3.1.1' end a = BigDecimal(1) - BigDecimal(1000) / BigDecimal(1100) b = BigDecimal(2000) / (BigDecimal(1) - a) p b
Result for 3.1.1: 0.22e4 (correct) Result for 3.1.2: 0.219999999999999999999999999999999999978e4 (incorrect)
0.22e4
0.219999999999999999999999999999999999978e4
The text was updated successfully, but these errors were encountered:
Similar to #222
Sorry, something went wrong.
No branches or pull requests
Reproduction script
Result for 3.1.1:
0.22e4
(correct)Result for 3.1.2:
0.219999999999999999999999999999999999978e4
(incorrect)The text was updated successfully, but these errors were encountered: