Skip to content

Fix wrong multiplying BASE_FIG in precision calculation#372

Merged
tompng merged 1 commit into
ruby:masterfrom
tompng:basefig_mult_fix
Jul 14, 2025
Merged

Fix wrong multiplying BASE_FIG in precision calculation#372
tompng merged 1 commit into
ruby:masterfrom
tompng:basefig_mult_fix

Conversation

@tompng

@tompng tompng commented Jul 13, 2025

Copy link
Copy Markdown
Member

Fix prec*(BASE_FIG+1) to (prec+1)*BASE_FIG (if it needs one extra DECDIGs) or BASE_FIG (if it doesn't need extra DECDIGs)
It's just a frequently occurring mistake in bigdecimal codebase.

Fix prec*(base_fig+1) to (prec+1)*base_fig
It's just a frequently occurring mistake in bigdecimal codebase.
@tompng tompng force-pushed the basefig_mult_fix branch from b395fc2 to ce666e8 Compare July 14, 2025 13:07
@tompng tompng merged commit 0daef5b into ruby:master Jul 14, 2025
79 checks passed
@tompng tompng deleted the basefig_mult_fix branch July 14, 2025 13:27
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.

1 participant