package
Version:
v0.0.0-...-7df4f84
Opens a new window with list of versions in this module.
Published: Dec 19, 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.