Documentation ¶
Index ¶
- func Abs[NumType SignedNumberType](Num NumType) NumType
- func Add[NumType NumberType](number1 NumType, number2 NumType) NumType
- func Max[NumType NumberType](number1 NumType, number2 NumType) NumType
- func Min[NumType NumberType](number1 NumType, number2 NumType) NumType
- func Mul[NumType NumberType](number1 NumType, number2 NumType) NumType
- func Sub[NumType NumberType](number1 NumType, number2 NumType) NumType
- type FloatType
- type NumberType
- type SignedNumberType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Abs ¶
func Abs[NumType SignedNumberType](Num NumType) NumType
func Add ¶
func Add[NumType NumberType](number1 NumType, number2 NumType) NumType
func Max ¶
func Max[NumType NumberType](number1 NumType, number2 NumType) NumType
func Min ¶
func Min[NumType NumberType](number1 NumType, number2 NumType) NumType
func Mul ¶
func Mul[NumType NumberType](number1 NumType, number2 NumType) NumType
func Sub ¶
func Sub[NumType NumberType](number1 NumType, number2 NumType) NumType
Types ¶
type NumberType ¶
Click to show internal directories.
Click to hide internal directories.