aleaxit / gmpy

General Multi-Precision arithmetic for Python 2.6+/3+ (GMP, MPIR, MPFR, MPC)
https://gmpy2.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
510 stars 86 forks source link

Correct mpz.to_bytes() and simplify logic of mpz.to/from_bytes() #402

Closed skirpichev closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Merging #402 (751f151) into master (252a402) will decrease coverage by 0.04%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #402      +/-   ##
==========================================
- Coverage   82.30%   82.27%   -0.04%     
==========================================
  Files          49       49              
  Lines       11721    11701      -20     
  Branches     2200     2192       -8     
==========================================
- Hits         9647     9627      -20     
  Misses       2074     2074              
Impacted Files Coverage Δ
src/gmpy2_mpz_misc.c 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more