Closed AaronKutch closed 6 years ago
Merging #21 into master will increase coverage by
1.97%
. The diff coverage is98.59%
.
@@ Coverage Diff @@
## master #21 +/- ##
=========================================
+ Coverage 68.32% 70.3% +1.97%
=========================================
Files 23 23
Lines 4089 4358 +269
=========================================
+ Hits 2794 3064 +270
+ Misses 1295 1294 -1
Impacted Files | Coverage Δ | |
---|---|---|
src/digit.rs | 89.26% <100%> (+2.88%) |
:arrow_up: |
src/apint/arithmetic.rs | 81.41% <98.41%> (+11.71%) |
:arrow_up: |
src/ll.rs | 0% <0%> (-50%) |
:arrow_down: |
src/apint/casting.rs | 64.22% <0%> (+0.4%) |
:arrow_up: |
src/apint/bitwise.rs | 72.53% <0%> (+2.11%) |
:arrow_up: |
src/apint/utils.rs | 79.23% <0%> (+4.91%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 2466209...7d2fb70. Read the comment docs.
Wow this is amazing work!!
I have looked over the code and comments and it looks really good to me! :)
Do you want me to merge it asap?
merge it. Next pull request I plan on looking at some of the other arithmetic functions and see if benchmarks improve when I make some changes. After that, I will pull request my division function, and then after that is the name changing. I would also try SIMD, but unfortunately I need to get back to my project. Maybe some time in the future I can come back and do SIMD and Karatsuba.
Thank you for all the glorious work - it is amazing! :tada:
I will merge this and release a 0.3 version of the apint crate.
added some methods to Digit and DoubleDigit for convenience, added
wrapping_inc
and fixednegate
, replaced the unimplemented! section in the checked_mul_assign function, and added a rigorous unit test.