Closed skirpichev closed 11 months ago
Merging #452 (874c95b) into master (21ccbf7) will not change coverage. The diff coverage is
n/a
.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@ Coverage Diff @@
## master #452 +/- ##
=======================================
Coverage 84.97% 84.97%
=======================================
Files 49 49
Lines 11738 11738
Branches 2206 2206
=======================================
Hits 9974 9974
Misses 1764 1764
Files | Coverage Δ | |
---|---|---|
src/gmpy2_mpz_misc.c | 100.00% <ø> (ø) |
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!
On Sat, Nov 04, 2023 at 02:13:46PM -0700, casevh wrote:
I need to test this on 64-bit Windows. mpz_set_si() accepts a long (32-bit) but _PyHASH_MODULUS is too large. At least that's my first reaction. I will respond later with the test results.
Yep, we should use mpz_set_ui().
Ok, first comment was removed. It seems we really want _PyHASH_BITS
macro.
Change in _mpfr_hash()
was reverted too, @casevh
Thanks for your patience in dealing with these subtle issues.
Hash-related patch was moved to #453
2e96fb6 Avoid computing _PyHASH_MODULUS in GMPy_MPQ_Hash_Slot()324e284 Fix compiler warning8a7b1ff Fix rst markup in docstrings (for emphasis) 12afc77 Usegmpy2.__package__
to get project name in sphinx b470a3b Set doctest_global_cleanup sphinx directive