8 references to UInt16BitsToHalf
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Half.cs (4)
780return BitConverter.UInt16BitsToHalf((ushort)bitValue); 1120return BitConverter.UInt16BitsToHalf((ushort)(signInt | NaNBits | sigInt)); 1205static Half IBinaryNumber<Half>.AllBitsSet => BitConverter.UInt16BitsToHalf(0xFFFF); 2359static Half IBinaryFloatParseAndFormatInfo<Half>.BitsToFloat(ulong bits) => BitConverter.UInt16BitsToHalf((ushort)(bits));
src\libraries\System.Private.CoreLib\src\System\Int16.cs (4)
971result = (actualValue >= BitConverter.UInt16BitsToHalf(0x7800)) ? MaxValue : 972(actualValue <= BitConverter.UInt16BitsToHalf(0xF800)) ? MinValue : (short)actualValue; 1050result = (actualValue >= BitConverter.UInt16BitsToHalf(0x7800)) ? MaxValue : 1051(actualValue <= BitConverter.UInt16BitsToHalf(0xF800)) ? MinValue : (short)actualValue;