package
Version:
v0.0.0-...-30e57c9
Opens a new window with list of versions in this module.
Published: Nov 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Round returns the nearest integer, rounding half away from zero.
Special cases are:
Round(±0) = ±0
Round(±Inf) = ±Inf
Round(NaN) = NaN
Copied from the Go standard library's (Go 1.12) math/floor.go for use in
Go version prior to Go 1.10.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.