1 write to _value
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
100internal BFloat16(ushort value) => _value = value;
30 references to _value
System.Private.CoreLib (30)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (2)
1010public static short BFloat16ToInt16Bits(BFloat16 value) => (short)value._value; 1081public static ushort BFloat16ToUInt16Bits(BFloat16 value) => value._value;
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (28)
106ushort bits = _value; 131ushort bits = _value; 153uint bits = value._value; 161uint bits = value._value; 169uint bits = value._value; 176uint bits = value._value; 184return (short)(value._value) < 0; 191return value._value == NegativeInfinityBits; 199uint bits = value._value; 207return value._value == PositiveInfinityBits; 215uint bits = value._value; 222uint bits = value._value; 840public static explicit operator float(BFloat16 value) => BitConverter.Int32BitsToSingle(value._value << 16); 871ushort bits = value._value; 907return new BFloat16((ushort)(left._value & right._value)); 913return new BFloat16((ushort)(left._value | right._value)); 919return new BFloat16((ushort)(left._value ^ right._value)); 925return new BFloat16((ushort)(~value._value)); 1101uint bits = x._value; 1134uint bits = x._value; 1302uint xbits = value._value; 1303uint ybits = sign._value; 1394public static BFloat16 Abs(BFloat16 value) => new BFloat16((ushort)(value._value & ~SignMask)); 1472public static bool IsPositive(BFloat16 value) => (short)(value._value) >= 0; 2148static ulong IBinaryFloatParseAndFormatInfo<BFloat16>.FloatToBits(BFloat16 value) => value._value;