pub fn next_up(f: f32) -> f32
Implementation of the nightly f32::next_up()
This function will panic if the input is NaN or infinite.