Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Lowest common multiple

Proto:unsigned long lcm(unsigned long a, unsigned long b)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longa
unsigned longb
10  If a && b Then Return a / gcd - calculate and return the greatest common divisor of 2 unsigned longs*@a: first value*@b: second value * b
12  Else Return 0
Caller
NameDescribe
lcm_not_zero