package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Sep 3, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Add(a, b int) int
-
func BitAnd(a, b int) int
-
func BitInvert(n int) int
-
func BitOr(a, b int) int
-
func BitXor(a, b int) int
-
func Div(a, b int) int
-
func GT(a, b int) bool
-
func GTE(a, b int) bool
-
func LT(a, b int) bool
-
func LTE(a, b int) bool
-
func Mod(a, b int) int
-
func Mul(a, b int) int
-
func Neg(n int) int
-
func NoOp(n int) int
-
func Sub(a, b int) int
Add is the addition operator, 'a+b'
BitAnd is bitwise and, '&'.
BitInvert inverts the bits of n. Go treats integers as two's complement, regardless of the underlying hardware.
BitXor is bitwise XOR, '^'
Div is the division operator, 'a/b'
GTE is Greater than or Equal, '>='
LT is Less, the comparison operator, 'a<b'
LTE is Less than or Equal, the comparison operator, 'a<=b'
Mod is the mod operator, 'a%b'
Mul is the multiplication operator, 'a*b'
Neg is the unary operator '-'
Sub is the subtraction operator, 'a-b'
Source Files
¶
Click to show internal directories.
Click to hide internal directories.