This is preliminary documentation and is subject to change.
A half precision (16 bit) floating point value.
| C# | Visual Basic | C++/CLI |
[SerializableAttribute] public struct Half
<SerializableAttribute> _ Public Structure Half
[SerializableAttribute] public value class Half
| All Members | Constructors | Methods | Fields | ||
| Icon | Member | Description |
|---|---|---|
| Half(Single) |
Initializes a new instance of the Half structure.
| |
| AdditionRounding |
Additional rounding.
| |
| ConvertToFloat(array<Half>[]()[]) |
Converts an array of half precision values into full precision values.
| |
| ConvertToHalf(array<Single>[]()[]) |
Converts an array of full precision values into half precision values.
| |
| Epsilon |
Smallest such that 1.0 + epsilon != 1.0
| |
| Equality(Half, Half) |
Tests for equality between two objects.
| |
| Equals(Half%, Half%) |
Determines whether the specified object instances are considered equal.
| |
| Equals(Half) |
Returns a value that indicates whether the current instance is equal to the specified object.
| |
| Equals(Object) |
Returns a value that indicates whether the current instance is equal to a specified object.
(Overrides ValueType.Equals(Object).) | |
| Explicit(Single) |
Performs an explicit conversion from Single to Half.
| |
| ExponentRadix |
Exponent radix.
| |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() |
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()()().) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Implicit(Half) |
Performs an implicit conversion from Half to Single.
| |
| Inequality(Half, Half) |
Tests for inequality between two objects.
| |
| MantissaBits |
Number of bits in the mantissa.
| |
| MaximumBinaryExponent |
Maximum binary exponent.
| |
| MaximumDecimalExponent |
Maximum decimal exponent.
| |
| MaxValue |
Maximum value of the number.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MinimumBinaryExponent |
Minimum binary exponent.
| |
| MinimumDecimalExponent |
Minimum decimal exponent.
| |
| MinValue |
Minimum value of the number.
| |
| PrecisionDigits |
Number of decimal digits of precision.
| |
| ToString()()() |
Converts the value of the object to its equivalent string representation.
(Overrides ValueType.ToString()()().) |
Assembly: SlimDX (Module: SlimDX)