cpp/numeric/lcm

Computes the least common multiple of the integers and.

Return value
If either or  is zero, returns zero. Otherwise, returns the least common multiple of and.

Remarks
If either or  is not an integer type, or if either is (possibly cv-qualified), the program is ill-formed.

The behavior is undefined if, , or the least common multiple of and  is not representable as a value of type.

Exceptions
Throws no exceptions.