u256

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2023 License: MPL-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int

type Int struct {
	// contains filtered or unexported fields
}

func Add

func Add(val ...interface{}) Int

func FromBytes32 added in v0.1.1

func FromBytes32(val [32]byte) Int

func Mul

func Mul(val ...interface{}) Int

func New

func New(v interface{}) Int

func Sub

func Sub(val1, val2 interface{}) Int

func (Int) Add

func (self Int) Add(value interface{}) Int

func (Int) Bytes32

func (self Int) Bytes32() [32]byte

func (Int) Clone

func (self Int) Clone() Int

func (Int) Div

func (self Int) Div(value interface{}) Int

func (Int) DivUint64

func (a Int) DivUint64(rhs uint64) Int

func (Int) Exp

func (self Int) Exp(val Int) Int

func (Int) ExpUint8

func (self Int) ExpUint8(val uint8) Int

func (Int) IsZero

func (self Int) IsZero() bool

func (Int) LessEqual added in v0.1.7

func (self Int) LessEqual(rhs Int) bool

func (Int) LessThan

func (self Int) LessThan(rhs Int) bool

func (Int) MarshalText

func (self Int) MarshalText() (text []byte, err error)

func (Int) Mod added in v0.1.3

func (self Int) Mod(value interface{}) Int

func (Int) Mul

func (self Int) Mul(value interface{}) Int

func (Int) MulUint64

func (a Int) MulUint64(rhs uint64) Int

func (Int) Sqrt added in v0.1.1

func (self Int) Sqrt() Int

func (Int) String

func (self Int) String() string

func (Int) Sub

func (self Int) Sub(val Int) Int

func (Int) ToBigInt

func (self Int) ToBigInt() *big.Int

func (Int) ToFix9

func (self Int) ToFix9() string

func (Int) ToFixNum

func (self Int) ToFixNum(precise uint64) string

func (Int) Uint64

func (self Int) Uint64() uint64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL