函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\mpi\mpih-cmp.c Create Date:2022-07-27 08:17:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mpi比较

函数原型:int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size)

返回类型:int

参数:

类型参数名称
mpi_ptr_top1_ptr
mpi_ptr_top2_ptr
mpi_size_tsize
30 i大于等于0循环
31  op1_word等于op1_ptr[i]
32  op2_word等于op2_ptr[i]
33  如果op1_word不等于op2_word则转到:diff
36  返回:0
38  diff :
42  返回:如果op1_word大于op2_word则1否则负1
调用者
名称描述
mpihelp_divremDivide 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.
mul_n
mpih_sqr_n
mpi_cmp