1 write to _value
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
102internal BFloat16(ushort value) => _value = value;
30 references to _value
System.Private.CoreLib (30)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (2)
951internal static short BFloat16BitsToInt16(BFloat16 value) => (short)value._value; 1009internal static ushort BFloat16BitsToUInt16(BFloat16 value) => value._value;
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (28)
108ushort bits = _value; 133ushort bits = _value; 155uint bits = value._value; 163uint bits = value._value; 171uint bits = value._value; 178uint bits = value._value; 186return (short)(value._value) < 0; 193return value._value == NegativeInfinityBits; 201uint bits = value._value; 209return value._value == PositiveInfinityBits; 217uint bits = value._value; 224uint bits = value._value; 842public static explicit operator float(BFloat16 value) => BitConverter.Int32BitsToSingle(value._value << 16); 873ushort bits = value._value; 909return new BFloat16((ushort)(left._value & right._value)); 915return new BFloat16((ushort)(left._value | right._value)); 921return new BFloat16((ushort)(left._value ^ right._value)); 927return new BFloat16((ushort)(~value._value)); 1103uint bits = x._value; 1136uint bits = x._value; 1304uint xbits = value._value; 1305uint ybits = sign._value; 1396public static BFloat16 Abs(BFloat16 value) => new BFloat16((ushort)(value._value & ~SignMask)); 1474public static bool IsPositive(BFloat16 value) => (short)(value._value) >= 0; 2150static ulong IBinaryFloatParseAndFormatInfo<BFloat16>.FloatToBits(BFloat16 value) => value._value;