diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/math.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index c4c180037f..d8ac35256d 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -136,6 +136,15 @@ Number-theoretic and representation functions .. versionadded:: 3.5 +.. function:: lcm(a, b) + + Return the least common multiple of integers *a* and *b*. The value of + ``lcm(a, b)`` is the smallest nonnegative integer that is a multiple of + both *a* and *b*. If either *a* or *b* is zero then ``lcm(a, b)`` is zero. + + .. versionadded:: 3.9 + + .. function:: isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0) Return ``True`` if the values *a* and *b* are close to each other and |