Documentation
¶
Index ¶
- func U256Add(result *big.Int, a *big.Int, b *big.Int) (*big.Int, error)
- func U256Div(result *big.Int, a *big.Int, b *big.Int) (*big.Int, error)
- func U256Mod(result *big.Int, a *big.Int, b *big.Int) (*big.Int, error)
- func U256Mul(result *big.Int, a *big.Int, b *big.Int) (*big.Int, error)
- func U256Sub(result *big.Int, a *big.Int, b *big.Int) (*big.Int, error)
- func Uint64Add(a uint64, b uint64) (uint64, error)
- func Uint64Mul(a uint64, b uint64) (uint64, error)
- func Uint64Sub(a uint64, b uint64) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func U256Add ¶
U256IntAdd safe add
func U256Mul ¶
U256Mul safe mul
func U256Sub ¶
U256Sub safe sub
Types ¶
This section is empty.
Source Files
¶
- safemath.go
Click to show internal directories.
Click to hide internal directories.