Documentation ¶
Index ¶
- func Abs[T constraints.Signed | constraints.Float](a T) T
- func Ceil[N constraintz.Number](a N) int
- func Divide[IN1, IN2, OUT constraintz.Number](a IN1, b IN2, result *OUT, ops ...func(float64) float64)
- func DivideTo[IN1, IN2, OUT constraintz.Number](a IN1, b IN2, ops ...func(float64) float64) OUT
- func Floor[N constraintz.Number](a N) int
- func Max[T constraints.Ordered](a, b T) T
- func Min[T constraints.Ordered](a, b T) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Abs ¶
func Abs[T constraints.Signed | constraints.Float](a T) T
func Ceil ¶
func Ceil[N constraintz.Number](a N) int
func Divide ¶
func Divide[IN1, IN2, OUT constraintz.Number](a IN1, b IN2, result *OUT, ops ...func(float64) float64)
func DivideTo ¶
func DivideTo[IN1, IN2, OUT constraintz.Number](a IN1, b IN2, ops ...func(float64) float64) OUT
func Floor ¶
func Floor[N constraintz.Number](a N) int
func Max ¶
func Max[T constraints.Ordered](a, b T) T
func Min ¶
func Min[T constraints.Ordered](a, b T) T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.