inline fun Double.toBits(): Long
Platform and version requirements: Kotlin 1.2
Returns a bit representation of the specified floating-point value as Long according to the IEEE 754 floating-point "double format" bit layout.
inline fun Float.toBits(): Int
Platform and version requirements: Kotlin 1.2
Returns a bit representation of the specified floating-point value as Int according to the IEEE 754 floating-point "single format" bit layout.
© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/to-bits.html