How can I calculate the machine epsilon for two numbers then calculate the theoretical limit for machine epsilon in Matlab ?
So, machine epsilon is an upper bound on the relative error due to roundoff. You can calculate this quantity using the
If you want to find the distance between a floating point number
x and the next nearest floating point number, you would call