# cupy.nextafter¶

cupy.nextafter = <ufunc 'cupy_nextafter'>

Computes the nearest neighbor float values towards the second argument.

Note

For values that are close to zero (or denormal numbers), results of cupy.nextafter() may be different from those of numpy.nextafter(), because CuPy sets -ftz=true.