geom/ints/big.go

14 lines
334 B
Go
Raw Normal View History

2019-12-21 11:53:57 +00:00
package ints
import "math/big"
func CopyBig(i *big.Int) *big.Int { return (&big.Int{}).Set(i) }
func DivBig(x, y *big.Int) *big.Int { return x.Div(x, y) }
func MulBig(x, y *big.Int) *big.Int { return x.Mul(x, y) }
func PowTenBig(p int) *big.Int { return Big.PowTen(p) }
func RepunitBig(k int) *big.Int { return Big.Repunit(k) }