warp.round#
- warp.round(x: Float) Float#
Kernel
Return the nearest integer value to
x, rounding halfway cases away from zero.This is the most intuitive form of rounding in the colloquial sense, but can be slower than other options like
warp.rint(). Differs fromnumpy.round(), which behaves the same way asnumpy.rint.