mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-10-20 06:09:52 +00:00
8fc7db8d80
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.63 to 1.40.34. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.63...v1.40.34) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
17 lines
281 B
Go
17 lines
281 B
Go
//go:build go1.10
|
|
// +build go1.10
|
|
|
|
package sdkmath
|
|
|
|
import "math"
|
|
|
|
// Round returns the nearest integer, rounding half away from zero.
|
|
//
|
|
// Special cases are:
|
|
// Round(±0) = ±0
|
|
// Round(±Inf) = ±Inf
|
|
// Round(NaN) = NaN
|
|
func Round(x float64) float64 {
|
|
return math.Round(x)
|
|
}
|