Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Doc/c-api/hashing.rst for hash-related C macros
  • Loading branch information
skirpichev committed Oct 30, 2023
commit de4e3aef3b4fcae549e847441ffa27a1e23819d0
20 changes: 20 additions & 0 deletions Doc/c-api/hashing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Parameters of the numeric hash implementation
=============================================

See :ref:`numeric-hash` for more details about hashing of numeric types.

.. c:macro:: _PyHASH_MODULUS

The Mersenne prime ``P = 2**n -1``, used for numeric hash scheme.

.. c:macro:: _PyHASH_BITS

The exponent ``n`` of ``P``.

.. c:macro:: _PyHASH_INF

The hash value returned for a positive infinity.

.. c:macro:: _PyHASH_IMAG

The multiplier used for the imaginary part of a complex number.
1 change: 1 addition & 0 deletions Doc/c-api/utilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ and parsing function arguments and constructing Python values from C values.
reflection.rst
codec.rst
perfmaps.rst
hashing.rst