Documentation ¶
Index ¶
- func Dtoa(buf []byte, value float64, maxDecimalPlaces int) []byte
- func DtoaSimple(buf []byte, value float64, maxDecimalPlaces int) []byte
- func Grisu2(buf []byte, value float64) ([]byte, int, int)
- func I32toa(buf []byte, value int32) []byte
- func I64toa(buf []byte, value int64) []byte
- func Prettify(buf []byte, l, k, maxDecimalPlaces int) []byte
- func PrettifySimple(buf []byte, l, k, maxDecimalPlaces int) []byte
- func U32toa(buf []byte, value uint32) []byte
- func U64toa(buf []byte, value uint64) []byte
- type DiyFp
- type Double
- func (d Double) EffectiveSignificandSize(order int) int
- func (d Double) Exponent() int
- func (d Double) IntegerExponent() int
- func (d Double) IntegerSignificand() uint64
- func (d Double) IsInf() bool
- func (d Double) IsNan() bool
- func (d Double) IsNanOrInf() bool
- func (d Double) IsNormal() bool
- func (d Double) IsZero() bool
- func (d Double) NextPositiveDouble() float64
- func (d Double) Sign() bool
- func (d Double) Significand() uint64
- func (d Double) ToBias() uint64
- func (d Double) Uint64Value() uint64
- func (d Double) Value() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrettifySimple ¶
Types ¶
type DiyFp ¶
type DiyFp struct {
// contains filtered or unexported fields
}
func DiyFpDouble ¶
func GetCachedPower ¶
func GetCachedPower10 ¶
func GetCachedPowerByIndex ¶
func (DiyFp) Multiplication ¶
func (DiyFp) NormalizeBoundary ¶
func (DiyFp) NormalizedBoundaries ¶
type Double ¶
type Double struct {
// contains filtered or unexported fields
}
func NewDoubleUint64 ¶
func (Double) EffectiveSignificandSize ¶
func (Double) IntegerExponent ¶
func (Double) IntegerSignificand ¶
func (Double) IsNanOrInf ¶
func (Double) NextPositiveDouble ¶
func (Double) Significand ¶
func (Double) Uint64Value ¶
Click to show internal directories.
Click to hide internal directories.