warp.rint#

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

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

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