warp.rint ========= .. currentmodule:: warp._src.lang .. function:: rint(x: Float) -> Float .. wp-function-tags:: :kernel: true :python: true :differentiable: false Compute the nearest integer value to ``x``, rounding halfway cases to nearest even integer. It is generally faster than :func:`~warp._src.lang.round`. Equivalent to :obj:`numpy.rint`.