Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\math\prime_numbers.c Create Date:2022-07-28 06:43:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:slow_next_prime_number

Proto:static unsigned long slow_next_prime_number(unsigned long x)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longx
84  When x < ULONG_MAX && Not slow_is_prime_number(++x) cycle
87  Return x
Caller
NameDescribe
next_prime_numberxt_prime_number - return the next prime number*@x: the starting point for searching to test* A prime number is an integer greater than 1 that is only divisible by* itself and 1