Documentation
¶
Index ¶
- func Abs(x int64) int64
- func Ceil(x float64) int64
- func Copysign(x, y int64) int64
- func Dim(x, y int64) int64
- func Floor(x float64) int64
- func Max(x, y int64) int64
- func Min(x, y int64) int64
- func Pow(x, y int64) int64
- func Pow10(n int) int64
- func Round(x float64) int64
- func RoundN(x float64, y int) float64
- func RoundToEven(x float64) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RoundN ¶
RoundN returns the nearest float64, rounding half away from zero with n number of digits.
func RoundToEven ¶
RoundToEven returns the nearest integer, rounding ties to even.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.