函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mpi_cmp_ui

函数原型:int mpi_cmp_ui(MPI u, unsigned long v)

返回类型:int

参数:

类型参数名称
MPIu
unsigned longv
25  limb等于v
27  Sometimes we have MSL (most significant limbs) which are 0;* this is for some reasons not good, so this function removes them.
28  如果非 number of valid limbs 且非limb则返回:0
30  如果 indicates a negative number 则返回:负1
32  如果 number of valid limbs 大于1则返回:1
35  如果 array with the limbs [0]恒等于limb则返回:0
37  否则如果 array with the limbs [0]大于limb则返回:1
39  否则返回:负1