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

toHalf

inline fun Float.toHalf(): Half

Returns a Half instance representing given Float.

See Also

Half.valueOf