What's the most efficient way to convert a platform `float` representation to a Kotlin `ByteArray` ?
d
What's the most efficient way to convert a platform
float
representation to a Kotlin
ByteArray
?
e
if you use
.toRawBits()
and manually shift the Int into Bytes, I expect LLVM to be able to optimize that
d
Thanks @ephemient, that worked out.