A half precision float that uses 16 bits instead of 32 bits.
| Property | Description |
|---|---|
| MaxValue | The maximum finite half value as a single precision float. |
| MaxValueAsHalf | The maximum finite half value as a half. |
| MinValue | The minimum finite half value as a single precision float. |
| MinValueAsHalf | The minimum finite half value as a half. |
| zero | half zero value. |
| Property | Description |
|---|---|
| value | The raw 16 bit value of the half. |
| Constructor | Description |
|---|---|
| half | Constructs a half value from a half value. |
| Method | Description |
|---|---|
| Equals | Returns true if the half is bitwise equivalent to a given half, false otherwise. |
| GetHashCode | Returns a hash code for the half. |
| ToString | Returns a string representation of the half. |
| Operator | Description |
|---|---|
| double | Implicitly converts a half value to a double value. |
| float | Implicitly converts a half value to a float value. |
| half | Explicitly converts a float value to a half value. |
| half | Explicitly converts a double value to a half value. |
| operator != | Returns whether two half values are not bitwise equivalent. |
| operator == | Returns whether two half values are bitwise equivalent. |