Enum ElementTypeCode
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
Specifies the type of an vector element (指定向量元素的类型). Reference from: https://learn.microsoft.com/en-us/dotnet/api/system.typecode
public enum ElementTypeCode
Fields
Byte = 6
An integral type representing unsigned 8-bit integers with values between 0 and 255 (整型,表示值介于 0 到 255 之间的无符号 8 位整数). Related types: byte.
Double = 14
A floating point type representing values ranging from approximately 5.0 x 10^-324 to 1.7 x 10^308 with a precision of 15-16 digits (浮点型,表示从大约 5.0 x 10^-324 到 1.7 x 10^308 且精度为 15 到 16 位的值). Related types: double.
Empty = 0
A null reference (空引用).
Int128 = 28
An integral type representing signed 128-bit integers with values between -170141183460469231731687303715884105728 and 170141183460469231731687303715884105727 (整型,表示值介于-170141183460469231731687303715884105728 和 170141183460469231731687303715884105727 之间的 128 位有符号整数). Related types: ExInt128, Int128.
Int16 = 7
An integral type representing signed 16-bit integers with values between -32768 and 32767 (整型,表示值介于 -32768 到 32767 之间的有符号 16 位整数). Related types: short.
Int32 = 9
An integral type representing signed 32-bit integers with values between -2147483648 and 2147483647 (整型,表示值介于 -2147483648 到 2147483647 之间的 32 位有符号整数). Related types: int.
Int64 = 11
An integral type representing signed 64-bit integers with values between -9223372036854775808 and 9223372036854775807 (整型,表示值介于-9223372036854775808 和 9223372036854775807 之间的 64 位有符号整数). Related types: long.
SByte = 5
An integral type representing signed 8-bit integers with values between -128 and 127 (整型,表示值介于 -128 到 127 之间的 8 位有符号整数). Related types: sbyte.
Single = 13
A floating point type representing values ranging from approximately 1.5 x 10^-45 to 3.4 x 10^38 with a precision of 7 digits (浮点型,表示从大约 1.5 x 10^-45 到 3.4 x 10^38 且精度为 7 位的值). Related types: float.
UInt128 = 29
An integral type representing unsigned 128-bit integers with values between 0 and 340282366920938463463374607431768211455 (整型,表示值介于 0 到 340282366920938463463374607431768211455 之间的 128 位无符号整数). Related types: ExUInt128, UInt128.
UInt16 = 8
An integral type representing unsigned 16-bit integers with values between 0 and 65535 (整型,表示值介于 0 到 65535 之间的 16 位无符号整数). Related types: ushort.
UInt32 = 10
An integral type representing unsigned 32-bit integers with values between 0 and 4294967295 (整型,表示值介于 0 到 4294967295 之间的 32 位无符号整数). Related types: uint.
UInt64 = 12
An integral type representing unsigned 64-bit integers with values between 0 and 18446744073709551615 (整型,表示值介于 0 到 18446744073709551615 之间的 64 位无符号整数). Related types: ulong.