[issue44536] wrong output of np.lcm.reduce(*awg)

申泷轩 report at bugs.python.org
Tue Jun 29 10:55:23 EDT 2021


New submission from 申泷轩 <751630742 at qq.com>:

np.lcm.reduce([1,2,3,100])
Out[125]: 300

np.lcm.reduce([1,2,3,100,101])
Out[126]: 30300

np.lcm.reduce([1,2,3,100,101,99019])
Out[127]: -1294691596

30300*99019
Out[128]: 3000275700

----------
assignee: docs at python
components: Documentation
files: a text for lcm() in  numpy.py
messages: 396742
nosy: docs at python, zlwq
priority: normal
severity: normal
status: open
title: wrong output of np.lcm.reduce(*awg)
versions: Python 3.8
Added file: https://bugs.python.org/file50133/a text for lcm() in  numpy.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44536>
_______________________________________


More information about the Python-bugs-list mailing list