Online Java nextUp() function

nextUp - Returns the floating point value adjacent to x in the direction of positive infinity


Run on Java version: