warp.round#
- warp.round(x: Float) Float#
Kernel
Compute 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
rint(). Differs fromnumpy.round(), which behaves the same way asnumpy.rint().