Assuming you are using an IEEE-754 floating point (which may be wrong in the diagram, I donβt know), then the epsilon machine is well known: for double-precision arithmetic it is 1.11e-16
.
For other platforms or floating point implementations, Wikipedia shows a formula to calculate it as (in Haskell):
main = print . last . map (subtract 1) . takeWhile (/= 1) . map (+ 1) . iterate (/2) $ 1
source share