Documentation
¶
Index ¶
- Constants
- type Fix64
- func (f Fix64) Abs() Fix64
- func (f Fix64) Add(val Fix64) Fix64
- func (f Fix64) Ceil() int64
- func (f Fix64) Cos() Fix64
- func (f Fix64) Div(val Fix64) Fix64
- func (f Fix64) Div1(val Fix64) Fix64
- func (f Fix64) Float3() (float64, error)
- func (f Fix64) Float32() float32
- func (f Fix64) Float64() float64
- func (f Fix64) Floor() int64
- func (f Fix64) GetHashCode() int64
- func (f Fix64) Int() int
- func (f Fix64) Int32() int32
- func (f Fix64) Int64() int64
- func (f Fix64) Mul(y Fix64) Fix64
- func (f Fix64) Mul1(val Fix64) Fix64
- func (f Fix64) Round() int64
- func (f Fix64) Sin() Fix64
- func (f Fix64) Sqrt() Fix64
- func (f Fix64) String() string
- func (f Fix64) Sub(val Fix64) Fix64
- func (f Fix64) Tan() Fix64
- type Numeric
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fix64 ¶
type Fix64 int64
func NewFix64 ¶
func NewFix64[T constraints.Integer | constraints.Float](val T) Fix64
func (Fix64) GetHashCode ¶
type Numeric ¶
type Numeric interface { constraints.Integer | constraints.Float }
Click to show internal directories.
Click to hide internal directories.