toRawBits

inline actual fun Double.toRawBits(): Long (source)

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, preserving NaN values exact layout.

inline actual fun Float.toRawBits(): Int (source)

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, preserving NaN values exact layout.