In Matlab eps has the following feature:
d = eps(x), where x has data type single or double, returns the positive distance from abs(x) to the next larger floating-point number of the same precision as x.
What is the equivalent way of computing this in Python or Numpy?
When searching for the answer, I found references to np.finfo(np.float64).eps, which is only the equivalent of eps('double') in Matlab.