Function report |
Source Code:lib\mpi\mpih-mul.c |
Create Date:2022-07-28 07:19:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Multiply the natural numbers u (pointed to by UP, with USIZE limbs)* and v (pointed to by VP, with VSIZE limbs), and store the result at* PRODP. USIZE + VSIZE limbs are always stored, but if the input* operands are normalized
Proto:int mpihelp_mul(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, mpi_ptr_t vp, mpi_size_t vsize, mpi_limb_t *_result)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| mpi_ptr_t | prodp | |
| mpi_ptr_t | up | |
| mpi_size_t | usize | |
| mpi_ptr_t | vp | |
| mpi_size_t | vsize | |
| mpi_limb_t * | _result |
| 438 | If Not vsize Then |
| 439 | _result = 0 |
| 440 | Return 0 |
| 446 | If v_limb <= 1 Then |
| 447 | If v_limb == 1 Then Copy N limbs from S to D. (prodp, up, usize) |
| 449 | Else Zero N limbs at D (prodp, usize) |
| 451 | cy = 0 |
| 456 | prodp++ |
| 475 | Return 0 |
| 481 | mpihelp_release_karatsuba_ctx( & ctx) |
| 483 | Return 0 |
| Name | Describe |
|---|---|
| mpihelp_mul_karatsuba_case | |
| 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 |