Operator Implicit
Implicit(half to Single)
Implicitly converts a half value to a float value.
Declaration
public static implicit operator float (half d)
Parameters
Type | Name | Description |
---|---|---|
half | d | The half value to convert to a single precision float. |
Returns
Type | Description |
---|---|
Single | The converted single precision float value. |
Implicit(half to Double)
Implicitly converts a half value to a double value.
Declaration
public static implicit operator double (half d)
Parameters
Type | Name | Description |
---|---|---|
half | d | The half value to convert to double precision float. |
Returns
Type | Description |
---|---|
Double | The converted double precision float value. |