Okay, so I'm trying to port over a piece of code from Java. Unfortunately, for some reason, Java's >>> shift operator is different from unreal's >>> operator. An example is when you try to do
In the original Java version, it returns 0, but in Unreal, it returns 24. I know that Java and Unreal both use signed ints, so it should theoretically return the same. The only difference that I can think of is that Java uses the big endian format, while Unreal possibly uses the little endian format (since it is mostly compiled on Intel x86 processors). So anyone know the problem, and hopefully a solution?
Thanks in advance!
Code:
24 >>> 32
Thanks in advance!