golang math.Round函数

golang 1.10 Release Notes中记载:golang

mathrest

The new functions Round and RoundToEven round their arguments to the nearest floating-point integer; Round rounds a half-integer to its larger integer neighbor (away from zero)ci

while RoundToEven rounds a half-integer to its even integer neighbor.it

The new functions Erfinv and Erfcinv compute the inverse error function and the inverse complementary error function.io

相关文章
相关标签/搜索