函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mpi_cmp

函数原型:int mpi_cmp(MPI u, MPI v)

返回类型:int

参数:

类型参数名称
MPIu
MPIv
49  Sometimes we have MSL (most significant limbs) which are 0;* this is for some reasons not good, so this function removes them.
50  Sometimes we have MSL (most significant limbs) which are 0;* this is for some reasons not good, so this function removes them.
51  usize等于 number of valid limbs
52  vsize等于 number of valid limbs
53  如果非 indicates a negative number indicates a negative number 则返回:1
55  如果 indicates a negative number 且非 indicates a negative number 则返回:负1
57  如果usize不等于vsize且非 indicates a negative number 且非 indicates a negative number 则返回:usizevsize
59  如果usize不等于vsize indicates a negative number indicates a negative number 则返回:vsizeusize
61  如果非usize则返回:0
63  cmp等于mpi比较
64  如果 indicates a negative number 则返回:负cmp
66  返回:cmp