New submission from xiyunlong <xyl...@sjtu.edu.cn>:
when I use:print(np.arange(1,2.2,0.2)) I got: 1.0 1.2 1.4 1.5999999999999999 1.7999999999999998 1.9999999999999998 2.1999999999999997 could any one tell me why it's not 1.0,1.2,1.4,1.6,1.8,2.0? Many thanks! ---------- components: Library (Lib) messages: 329466 nosy: xyl123 priority: normal severity: normal status: open title: something confused about numpy.arange versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35188> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com