Documentation
¶
Overview ¶
Functions for operating on 32bit floats, mostly just wrappers around the functions from std/math
Index ¶
- func Abs(x float32) float32
- func Acos(x float32) float32
- func ApproxEq(p, q, eps float32) bool
- func Asin(x float32) float32
- func Atan(x float32) float32
- func Ceil(x float32) float32
- func Cos(x float32) float32
- func Floor(x float32) float32
- func Hypot(p, q float32) float32
- func Inf(sign int) float32
- func IsInf(f float32, sign int) bool
- func IsNaN(f float32) bool
- func Max(args ...float32) float32
- func Min(args ...float32) float32
- func NaN() float32
- func Pow(x, y float32) float32
- func Round(x float32) float32
- func Sin(x float32) float32
- func Sqrt(x float32) float32
- func Sum(vals []float32) float32
- func Tan(x float32) float32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInf ¶
Reports whether f is an infinity according to sign. sign > 0 reports x == +Inf sign < 0 reports x == -Inf sign == 0 reports x == +Inf || x == -Inf
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.