MCPcopy Create free account
hub / github.com/numpy/numpy / _lcm

Function _lcm

numpy/core/_internal.py:850–851  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

848 return a
849
850def _lcm(a, b):
851 return a // _gcd(a, b) * b
852
853def array_ufunc_errmsg_formatter(dummy, ufunc, method, *inputs, **kwargs):
854 """ Format the error message for when __array_ufunc__ gives up. """

Callers 1

__dtype_from_pep3118Function · 0.85

Calls 1

_gcdFunction · 0.85

Tested by

no test coverage detected