Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

Types

This section is empty.

Source Files