takeLowestOneBit

Common
JVM
JS
Native
1.4

Returns a number having a single bit set in the position of the least significant set bit of this Int number, or zero, if this number is zero.

Common
JVM
JS
Native
1.4
fun Long.takeLowestOneBit(): Long
(Common source) (JVM source) (JS source) (Native source)

Returns a number having a single bit set in the position of the least significant set bit of this Long number, or zero, if this number is zero.

Common
JVM
JS
Native
1.4
fun Byte.takeLowestOneBit(): Byte
(source)

Returns a number having a single bit set in the position of the least significant set bit of this Byte number, or zero, if this number is zero.

Common
JVM
JS
Native
1.4
fun Short.takeLowestOneBit(): Short
(source)

Returns a number having a single bit set in the position of the least significant set bit of this Short number, or zero, if this number is zero.

Common
JVM
JS
Native
1.5
fun UInt.takeLowestOneBit(): UInt
(source)

Returns a number having a single bit set in the position of the least significant set bit of this UInt number, or zero, if this number is zero.

Common
JVM
JS
Native
1.5
fun ULong.takeLowestOneBit(): ULong
(source)

Returns a number having a single bit set in the position of the least significant set bit of this ULong number, or zero, if this number is zero.

Common
JVM
JS
Native
1.5
fun UByte.takeLowestOneBit(): UByte
(source)

Returns a number having a single bit set in the position of the least significant set bit of this UByte number, or zero, if this number is zero.

Common
JVM
JS
Native
1.5
fun UShort.takeLowestOneBit(): UShort
(source)

Returns a number having a single bit set in the position of the least significant set bit of this UShort number, or zero, if this number is zero.