#Javascript doesn't have a built-in method to get the #epsilon of a number. It only has the epsilon of 1.
The way to get the epsilon of any other number is
\[
2^{\lfloor \log_2 x\rfloor} \epsilon
\]
or Math.pow(2, Math.floor(Math.log(x)/Math.log(2)))*Number.EPSILON for you non-mathjaxed instance dwellers.
Isn't there a cleaner way?