Maybe I’m missing something here. Can you explain where you got this function from, what it is supposed to do and why it is wrong?
This function is from file kotlin.js file
kotlin.js . The runtime and standard library.
and why it is wrong?
From the given description it is still not clear why you do believe it’s a bug. I mean, what do you expect from this function and what is wrong with it?
Actually, as I can see, this function is neither used in the implementation of Long, nor exposed in its public Kotlin API, so I suppose we can just drop it.