Documentation
¶
Index ¶
- type Float
- func (f *Float) Abs() *Float
- func (f *Float) Add(x *Float) *Float
- func (f *Float) BigFloat() *big.Float
- func (f *Float) BigInt() *big.Int
- func (f *Float) Cmp(x *Float) int
- func (f *Float) Div(x *Float) *Float
- func (f *Float) Float64() float64
- func (f *Float) GobDecode(b []byte) error
- func (f *Float) GobEncode() ([]byte, error)
- func (f *Float) Int() *Int
- func (f *Float) Inv() *Float
- func (f *Float) Mul(x *Float) *Float
- func (f *Float) Neg() *Float
- func (f *Float) Scan(v interface{}) error
- func (f *Float) Sign() int
- func (f *Float) Sqrt() *Float
- func (f *Float) String() string
- func (f *Float) Sub(x *Float) *Float
- func (f *Float) Text(format byte, prec int) string
- func (f *Float) Value() (driver.Value, error)
- type Int
- func (i *Int) Abs() *Int
- func (i *Int) Add(x *Int) *Int
- func (i *Int) BigFloat() *big.Float
- func (i *Int) BigInt() *big.Int
- func (i *Int) Cmp(x *Int) int
- func (i *Int) Div(x *Int) *Int
- func (i *Int) DivRoundUp(x *Int) *Int
- func (i *Int) Float() *Float
- func (i *Int) GobDecode(b []byte) error
- func (i *Int) GobEncode() ([]byte, error)
- func (i *Int) Int64() int64
- func (i *Int) Inv() *Float
- func (i *Int) Lsh(n uint) *Int
- func (i *Int) Mul(x *Int) *Int
- func (i *Int) Neg() *Int
- func (i *Int) Pow(x *Int) *Int
- func (i *Int) Rem(x *Int) *Int
- func (i *Int) Rsh(n uint) *Int
- func (i *Int) Scan(v interface{}) error
- func (i *Int) Sign() int
- func (i *Int) Sqrt() *Int
- func (i *Int) String() string
- func (i *Int) Sub(x *Int) *Int
- func (i *Int) Text(base int) string
- func (i *Int) Uint64() uint64
- func (i *Int) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float ¶
type Float struct {
// contains filtered or unexported fields
}
func FloatFromBigFloat ¶
func FloatFromBigInt ¶
func FloatFromFloat64 ¶
func FloatFromInt ¶
func FloatFromInt64 ¶
func FloatFromString ¶
func FloatFromUint64 ¶
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
func IntFromBigFloat ¶
func IntFromBigInt ¶
func IntFromBytes ¶
func IntFromFloat ¶
func IntFromFloat64 ¶
func IntFromInt64 ¶
func IntFromString ¶
func IntFromUint64 ¶
func (*Int) DivRoundUp ¶
Click to show internal directories.
Click to hide internal directories.