Ask Your Question

Revision history [back]

This has been fixed now, if you upgrade, you will now get:

sage: numpy.array([1/5])[0] == 0.2
True

sage: numpy.float64(1/5)
0.20000000000000001

This has been fixed now, now (trac ticket #14416), so if you upgrade, you will now get:

sage: numpy.array([1/5])[0] == 0.2
True

sage: numpy.float64(1/5)
0.20000000000000001