translated from https://github.com/scijs/nextafter/blob/master/nextafter.js
And add respect to the sign of zero, e.g.
nextafter(-0.0, 0.0) == 0.0 nextafter(0.0, -0.0) == -0.0
translated from https://github.com/scijs/nextafter/blob/master/nextafter.js
And add respect to the sign of zero, e.g.
nextafter(-0.0, 0.0) == 0.0 nextafter(0.0, -0.0) == -0.0