Documentation ¶
Index ¶
- Variables
- func Add(x, y int64) (result int64, err error)
- func DivFloor(x, y int64) (result int64, mod int64, err error)
- func DivTrunc(x, y int64) (result int64, mod int64, err error)
- func Mul(x, y int64) (result int64, err error)
- func NewOverflowError(operator Operator, left, right int64) error
- func NewZeroDivisionError(numerator, denominator int64) error
- func Sub(x, y int64) (result int64, err error)
- type Operator
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOverflow error = overflowError{} ErrZeroDivision error = zeroDivisionError{} )
Functions ¶
func NewOverflowError ¶
func NewZeroDivisionError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.