warp.rint#

warp.rint(x: Float) Float#
  • Kernel

Return the nearest integer value to x, rounding halfway cases to nearest even integer.

It is generally faster than warp.round(). Equivalent to numpy.rint.