golang math.Round函数 - Go语言中文社区

golang math.Round函数


golang 1.10 Release Notes中记载:

math

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)

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

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

转载于:https://my.oschina.net/u/612750/blog/2872463

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/weixin_34289744/article/details/92010722
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-03-01 12:12:38
  • 阅读 ( 2310 )
  • 分类:Go

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢