Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
xt_lcm(3)		   Library Functions Manual		     xt_lcm(3)

NAME
       xt_lcm()	- Least	common multiple

LIBRARY
       #include	<xtend/math.h>
       -lxtend

SYNOPSIS
       unsigned	long   xt_lcm(unsigned long a,unsigned long b)

ARGUMENTS
       a, b: Numbers for which to find LCM

DESCRIPTION
       Computes	 the  least  common  multiple  of two natural numbers a	and b.
       Note that this function may fail	for relatively small values, as	 their
       LCM may be beyond the range of a	32-bit integer.

RETURN VALUES
       The least common	multiple of a and b.

SEE ALSO
       xt_gcd(3)

								     xt_lcm(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_lcm&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help