Documentation ¶
Index ¶
- Variables
- type T
- func (a T) Abs() T
- func (a T) Add(b T) T
- func (a T) AddSaturate(b T) T
- func (a T) Binary() uint32
- func (a T) Ceil() T
- func (a T) Clamp(low, high T) T
- func (a T) Div(b T) T
- func (a T) DivSaturate(b T) T
- func (a T) Float32() float32
- func (a T) Float64() float64
- func (a T) Floor() T
- func (a T) Format(decimals int) string
- func (a T) Int() int
- func (a T) Int32() int32
- func (a T) Int64() int64
- func (a T) Inv() T
- func (a T) LEqual(b T) bool
- func (a T) Less(b T) bool
- func (a T) Max(b T) T
- func (a T) Min(b T) T
- func (a T) Mod(b T) T
- func (a T) Mul(b T) T
- func (a T) MulSaturate(b T) T
- func (a T) Negative() bool
- func (a T) Split() (T, T)
- func (a T) Sqrt() T
- func (a T) String() string
- func (a T) Sub(b T) T
- func (a T) SubSaturate(b T) T
- func (a T) Uint32() uint32
- func (a T) Uint64() uint64
- func (a T) Zero() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Minimum = T{^0x7FFFFFFF} Maximum = T{0x7FFFFFFF} )
View Source
var ( Pi = T{205887} E = T{178145} Zero = T{} One = T{0x00010000} )
View Source
var Overflow = T{^0x7FFFFFFF}
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (T) AddSaturate ¶
func (T) DivSaturate ¶
func (T) MulSaturate ¶
func (T) SubSaturate ¶
Click to show internal directories.
Click to hide internal directories.