nextafterΒΆ

Returns the next representable floating-point value for each element x1_i of the input array x1 in the direction of the respective element x2_i of the input array x2.

Abstract Signature:

nextafter(x1: Union[array, int, float], x2: Union[array, int, float])

JAX (Core)

API: jax.numpy.nextafter
Strategy: Direct Mapping

NumPy

API: numpy.nextafter
Strategy: Direct Mapping

TensorFlow

API: tf.math.nextafter
Strategy: Direct Mapping

Flax NNX

API: jax.numpy.nextafter
Strategy: Direct Mapping