5 references to Int16BitsToBFloat16
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
733
public static BFloat16 ToBFloat16(byte[] value, int startIndex) =>
Int16BitsToBFloat16
(ToInt16(value, startIndex));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadBigEndian.cs (2)
59
BitConverter.
Int16BitsToBFloat16
(ReverseEndianness(MemoryMarshal.Read<short>(source))) :
314
value = BitConverter.
Int16BitsToBFloat16
(ReverseEndianness(tmp));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadLittleEndian.cs (2)
59
BitConverter.
Int16BitsToBFloat16
(ReverseEndianness(MemoryMarshal.Read<short>(source))) :
314
value = BitConverter.
Int16BitsToBFloat16
(ReverseEndianness(tmp));