Join Slack
Powered by
What's the most efficient way to convert a platfor...
# kotlin-native
d
darkmoon_uk
09/07/2022, 12:49 PM
What's the most efficient way to convert a platform
float
representation to a Kotlin
ByteArray
?
e
ephemient
09/07/2022, 5:13 PM
if you use
.toRawBits()
and manually shift the Int into Bytes, I expect LLVM to be able to optimize that
d
darkmoon_uk
09/08/2022, 2:35 AM
Thanks
@ephemient
, that worked out.
6
Views
Open in Slack
Previous
Next