Online Java nextAfter() function

nextAfter - Returns the floating point number adjacent to x in the direction of y


Run on Java version: