public static double nextUp (double d)

Returns the floating-point value adjacent to ` d`

in
the direction of positive infinity. This method is
semantically equivalent to ```
nextAfter(d,
Double.POSITIVE_INFINITY)
```

; however, a ` nextUp`

implementation may run faster than its equivalent
` nextAfter`

call.

Special Cases:

- If the argument is NaN, the result is NaN.
- If the argument is positive infinity, the result is positive infinity.
- If the argument is zero, the result is
`Double.MIN_VALUE`

`d` | starting floating-point value |

Diagram: Math