DML_SCALAR_UNION union (directml.h)
純量類型的聯集。
語法
union DML_SCALAR_UNION {
BYTE Bytes[8];
INT8 Int8;
UINT8 UInt8;
INT16 Int16;
UINT16 UInt16;
INT32 Int32;
UINT32 UInt32;
INT64 Int64;
UINT64 UInt64;
FLOAT Float32;
DOUBLE Float64;
};
成員
Bytes[8]
8 位元組陣列。
Int8
8 位元帶正負號的整數。
UInt8
8 位元不帶正負號的整數。
Int16
16 位元帶正負號的整數。
UInt16
16 位元不帶正負號的整數。
Int32
32 位元帶正負號的整數。
UInt32
32 位元不帶正負號的整數。
Int64
64 位元帶正負號的整數。
UInt64
64 位元不帶正負號的整數。
Float32
單精確度浮點數。
Float64
雙精確度浮點數。
需求
最低支援的用戶端 | Windows 10組建 20348 |
最低支援的伺服器 | Windows 10組建 20348 |
標頭 | directml.h |