core-ktx / androidx.util / kotlin.Double / toHalf

toHalf

inline fun Double.toHalf(): Half

Returns a Half instance representing given Double.

See Also

Half.valueOf