[New-bugs-announce] [issue35187] a bug about np.arrange

xiyunlong report at bugs.python.org
Thu Nov 8 02:57:46 EST 2018


New submission from xiyunlong <xyl123 at sjtu.edu.cn>:

when I use np.arange as follows:
np.arange(1,2.2,0.2)
I got the array as [1. , 1.2, 1.4, 1.6, 1.8, 2. , 2.2],we know, the maxvalue 2.2 of the array should not be included in the array. Is this a bug?

----------
components: Library (Lib)
messages: 329460
nosy: xyl123
priority: normal
severity: normal
status: open
title: a bug about np.arrange
versions: Python 3.5

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


More information about the New-bugs-announce mailing list