Versions in this module Expand all Collapse all v0 v0.9.2 Apr 21, 2024 v0.9.1 Apr 21, 2024 Changes in this version + const ErrInvalidNaNValue + func BFloat16ToFloat32(i uint16) float32 + func BFloat16ToFloat64(i uint16) float64 + func Float32ToBFloat16(value float32) uint16 + func Float64ToBFloat16(value float64) uint16 + type BFloat16 uint16 + type Float16 uint16 + func FromNaN32ps(nan float32) (Float16, error) + func Frombits(u16 uint16) Float16 + func Fromfloat32(f32 float32) Float16 + func Inf(sign int) Float16 + func NaN() Float16 + func (f Float16) Bits() uint16 + func (f Float16) Float32() float32 + func (f Float16) IsFinite() bool + func (f Float16) IsInf(sign int) bool + func (f Float16) IsNaN() bool + func (f Float16) IsNormal() bool + func (f Float16) IsQuietNaN() bool + func (f Float16) Signbit() bool + func (f Float16) String() string + type Precision int + const PrecisionExact + const PrecisionInexact + const PrecisionOverflow + const PrecisionUnderflow + const PrecisionUnknown + func PrecisionFromfloat32(f32 float32) Precision