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
Powers, Roots, and more #131
base: Rel/2024-04-m1
Are you sure you want to change the base?
Conversation
- Allows for any size Integer to be used as an exponent
Adds 'Euclidean division' Modulus operation and simplifies Modulus Remainder sign logic. Unit tests added.
Implements support for fractional exponents in powers and integer only roots
Adds new features and updates REAMDME.md Todo: expand unit testing for new features.
@royNiladri Hope I'm not too late on this but had to work out some precision issues. They're mostly resolved, but I plan to maybe add user defined limits on the public facing method for |
- Fixed typing issues in BigDecimal validate - Removed deprecated substr functions - Added wrapper logic functions to compareTo - Fully implemented 'UNNECESSARY' rounding mode
@royNiladri latest commit implements "UNNECESSARY" rounding mode into roundOff method Added unit test for roots. Should close #126 Looked into #22 and have a basic plan to implement Locale Aware numbering systems. I'll open a new branch for that after the next release. |
Hi @Jsoto22 You have some conflicts on this PR. I have added you as a contributor to the repository.. So you can start working on the repository directly. Create a separate branch, and merge all changes from the release branch. |
@royNiladri I fixed the conflicts directly. I had left them so you could be aware of what would change in those files. This pr should be good to go now. |
This update allows for fractional exponents to be used in the pow method. It also adds public methods for square/cube roots, exponentiation of Euler's constant, Euler's constant as a static property, and factorials.