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

Implement rounding and improved comparison #49

Open
ckormanyos opened this issue Sep 19, 2021 · 1 comment
Open

Implement rounding and improved comparison #49

ckormanyos opened this issue Sep 19, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ckormanyos
Copy link
Owner

Implement rounding and improved comparison using individual base-10 digit(s) slightly beyond the digit of least significance instead of entire limbs and even if these least significant digits are within the middle of a given limb or separated between two limbs.

Incubate this technology here in wide-decimal. When this technology is stable, port it over to cpp_dec_float in Boost.

@ckormanyos ckormanyos added the enhancement New feature or request label Sep 19, 2021
@ckormanyos ckormanyos self-assigned this Sep 19, 2021
@ckormanyos
Copy link
Owner Author

Round on floor/ceil/integer-cast has been successfully implemented in 6544d13.

This would theoretically be enough to handle the mentioned boost issue in cpp-dec_float (which is unrelated to this project, but similar).

Let's establish some experience with this rounding here and maybe i can see how it shakes out in a boost PR shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant