I am reading a numerical analysis book, and it talks about nearest numbers.
They quickly state that you can find the nearest machine numbers easily, but never go on to show how to,find those numbers.
Can someone please explains how you can find the two closest numbers of a given number $y$ where $y'$ is the number below and $y''$ is the number above for double precision?
Let say the number is $y = 0.8$.
How do you number the closest number above and below that number in double precision?