Function report |
Source Code:lib\mpi\mpih-div.c |
Create Date:2022-07-28 07:19:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Divide num (NP/NSIZE) by den (DP/DSIZE) and write* the NSIZE-DSIZE least significant quotient limbs at QP* and the DSIZE long remainder at NP. If QEXTRA_LIMBS is* non-zero, generate that many fraction bits and append them after the* other quotient limbs.
Proto:mpi_limb_t mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs, mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize)
Type:mpi_limb_t
Parameter:
Type | Parameter | Name |
---|---|---|
mpi_ptr_t | qp | |
mpi_size_t | qextra_limbs | |
mpi_ptr_t | np | |
mpi_size_t | nsize | |
mpi_ptr_t | dp | |
mpi_size_t | dsize |
48 | most_significant_q_limb = 0 |
51 | Case dsize == 0 |
58 | Return 1 / dsize |
60 | Case dsize == 1 |
84 | Break |
86 | Case dsize == 2 |
100 | most_significant_q_limb = 1 |
149 | Break |
151 | Default |
222 | Return most_significant_q_limb |
Name | Describe |
---|---|
mpi_powm | RES = BASE ^ EXP mod MOD |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |