函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:slow_is_prime_number

函数原型:static bool slow_is_prime_number(unsigned long x)

返回类型:bool

参数:

类型参数名称
unsigned longx
71  y等于_sqrt - computes the integer square root*@x: integer of which to calculate the sqrt* Computes: floor(sqrt(x))
73 y大于1循环
74  如果x取模y恒等于0则退出
76  y自减
79  返回:y恒等于1
调用者
名称描述
slow_next_prime_number
is_prime_numbers_prime_number - test whether the given number is prime*@x: the number to test* A prime number is an integer greater than 1 that is only divisible by* itself and 1
selftest