to Double
Returns the value of this Half as a double after a widening primitive conversion.
The following special cases are handled:
If the input is Half.NaN, the returned value is Double.NaN
If the input is Half.POSITIVE_INFINITY or Half.NEGATIVE_INFINITY, the returned value is respectively Double.POSITIVE_INFINITY or Double.NEGATIVE_INFINITY
If the input is 0 (positive or negative), the returned value is +/-0.0f
Otherwise, the returned value is a normalized double-precision float value
Return
The half-precision float value represented by this object converted to type double