跳转到内容

rint

float  rint(float n)

<vector> rint(<vector>v)

返回最接近n的整数。对于向量,会逐分量进行计算。