{"action":"opened","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/5949","labels_url":"https://api.github.com/repos/numpy/numpy/issues/5949/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/5949/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/5949/events","html_url":"https://github.com/numpy/numpy/issues/5949","id":85877539,"number":5949,"title":" When np.arange is called with certain parameters the output array is unexpected!","user":{"login":"Condla","id":4442327,"avatar_url":"https://avatars.githubusercontent.com/u/4442327?v=3","gravatar_id":"","url":"https://api.github.com/users/Condla","html_url":"https://github.com/Condla","followers_url":"https://api.github.com/users/Condla/followers","following_url":"https://api.github.com/users/Condla/following{/other_user}","gists_url":"https://api.github.com/users/Condla/gists{/gist_id}","starred_url":"https://api.github.com/users/Condla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Condla/subscriptions","organizations_url":"https://api.github.com/users/Condla/orgs","repos_url":"https://api.github.com/users/Condla/repos","events_url":"https://api.github.com/users/Condla/events{/privacy}","received_events_url":"https://api.github.com/users/Condla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-07T08:50:26Z","updated_at":"2015-06-07T08:50:26Z","closed_at":null,"body":"The problem is reproducable on two different machines:\r\nx) Windows 7, Python 3.4.3, numpy 1.9.2\r\nx) Centos 6, Python 2.6.6, numpy 1.4.1\r\n\r\nWhen np.arange is called with start parameter 0.5 and stop parameter 1.1 the returned array includes one more value than expected. Any other combinations of start and stop parameters I tried so far deliver the expected output.\r\nHere are two examples of the concrete problem, which are also shown in the screenshot attached.\r\nnp.arange(0.5, 1.1, 0.1) returns: array([ 0.5,  0.6,  0.7,  0.8,  0.9,  1. ,  1.1])\r\nnp.arange(0.5, 1.1, 0.2) returns: array([ 0.5,  0.7,  0.9,  1.1])\r\n![python_numpy_arange_bug](https://cloud.githubusercontent.com/assets/4442327/8023256/ed7cd11e-0d02-11e5-90ff-87d9bb882ae4.png)\r\n"}}