Function report |
Source Code:lib\mpi\generic_mpih-rshift.c |
Create Date:2022-07-28 07:18:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Shift U (pointed to by UP and USIZE limbs long) CNT bits to the right* and store the USIZE least significant limbs of the result at WP.* The bits shifted out to the right are returned.* Argument constraints:* 1. 0 < CNT < BITS_PER_MP_LIMB* 2
Proto:mpi_limb_t mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt)
Type:mpi_limb_t
Parameter:
Type | Parameter | Name |
---|---|---|
mpi_ptr_t | wp | |
mpi_ptr_t | up | |
mpi_size_t | usize | |
unsigned | cnt |
37 | wp -= 1 |
38 | sh_2 = BITS_PER_MPI_LIMB - sh_1 |
49 | Return retval |
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 |