<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Dear support team,<br />during a test I found out a possible issue in Python I would like to report.</p>
<p>Please, confirm if this is a bug or let me know why my expectation are incorrect:</p>
<p>> python3<br />Python 3.4.3 (default, Nov 28 2017, 16:41:13) <br />[GCC 4.8.4] on linux<br />Type "help", "copyright", "credits" or "license" for more information.<br />>>> import numpy as np<br />>>> x = np.arange(0, 0.5, 0.0001)<br />>>> 0.4 in x<br />True<br />>>> 0.41 in x # expected to be True!<br />False<br />>>> 0.42 in x <span># expected to be True!</span><br />False<br />>>> 0.43 in x<br />True</p>
<p>>>> 0.429 in x <span># expected to be True!</span><br />False<br />>>> 0.431 in x<br />True<br /><br /></p>
<p>Regards,<br />Marco</p>

</body></html>