package sdkmath

import "github.com/aws/aws-sdk-go-v2/internal/sdkmath"

Index

Functions

func Round

func Round(x float64) float64

Round returns the nearest integer, rounding half away from zero.

Special cases are:

Round(±0) = ±0
Round(±Inf) = ±Inf
Round(NaN) = NaN

Source Files

floor.go

Version
v0.12.0
Published
Sep 17, 2019
Platform
darwin/amd64
Imports
1 packages
Last checked
15 minutes ago

Tools for package owners.