Documentation
¶
Index ¶
- func Add[T core.Number | ~string](lhs T, rhs T) T
- func AddAssign[T core.Number | ~string](lhs *T, rhs T)
- func And[T ~bool](lhs T, rhs T) T
- func AndAssign[T ~bool](lhs *T, rhs T)
- func BitAnd[T core.Integer](lhs T, rhs T) T
- func BitAndAssign[T core.Integer](lhs *T, rhs T)
- func BitOr[T core.Integer](lhs T, rhs T) T
- func BitOrAssign[T core.Integer](lhs *T, rhs T)
- func BitXor[T core.Integer](lhs T, rhs T) T
- func BitXorAssign[T core.Integer](lhs *T, rhs T)
- func Div[T core.Number](lhs T, rhs T) T
- func DivAssign[T core.Number](lhs *T, rhs T)
- func Eq[T comparable](lhs T, rhs T) bool
- func Exchange[Lhs, Rhs any](lhs Lhs, rhs Rhs) (Rhs, Lhs)
- func Ge[T core.Ordered](lhs T, rhs T) bool
- func Gt[T core.Ordered](lhs T, rhs T) bool
- func Le[T core.Ordered](lhs T, rhs T) bool
- func Lt[T core.Ordered](lhs T, rhs T) bool
- func Max[T core.Ordered](elem T, rest ...T) T
- func Min[T core.Ordered](elem T, rest ...T) T
- func Mul[T core.Number](lhs T, rhs T) T
- func MulAssign[T core.Number](lhs *T, rhs T)
- func Ne[T comparable](lhs T, rhs T) bool
- func Neg[T core.Number](v T) T
- func Not[T ~bool](v T) T
- func NotAssign[T ~bool](v *T)
- func Or[T ~bool](lhs T, rhs T) T
- func OrAssign[T ~bool](lhs *T, rhs T)
- func RangeInteger[T core.Integer](start T, end T) []T
- func Rem[T core.Integer](lhs T, rhs T) T
- func RemAssign[T core.Integer](lhs *T, rhs T)
- func Shl[T core.Integer, S core.Integer](v T, bit S) T
- func ShlAssign[T core.Integer, S core.Integer](v *T, bit S)
- func Shr[T core.Integer, S core.Integer](v T, bit S) T
- func ShrAssign[T core.Integer, S core.Integer](v *T, bit S)
- func Sub[T core.Number](lhs T, rhs T) T
- func SubAssign[T core.Number](lhs *T, rhs T)
- func Ternary[T any](ok bool, lhs T, rhs T) T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BitAndAssign ¶
func BitOrAssign ¶
func BitXorAssign ¶
func Eq ¶
func Eq[T comparable](lhs T, rhs T) bool
func Ne ¶
func Ne[T comparable](lhs T, rhs T) bool
func RangeInteger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.