主要内容

舍入模式:向上

当您向上舍入时,正数和负数都向正无穷舍入。这样做的结果会在数字中引入正的累积偏置。

您可以使用 ceil 函数向上舍入。

Plot of output stored integer value vs input real-world value using round to ceiling.

另请参阅

|