I know there have been discussion about adding "pr...
# random
r
I know there have been discussion about adding "proper" bit manipulation to Kotlin, and I'd like to also see some of Java's static Integer methods added to Int's companion object (so they could be used in platform independent code). I doubt it would be worth adding to the standard library, but perhaps to a kotlinx math library? This could include: - reverse bits - unsigned operations (especially compare) - highest/lowest one bit - leading/trailing zeros and maybe some others.
👍 1
k
Maybe repeat that in #C0B9K7EP2 or here https://discuss.kotlinlang.org/t/when-does-bit-fiddling-come-to-kotlin/2249 so it doesn't get lost.