I wrote a hashing function that takes a 64 bit integer in, and outputs a 64 bit integer out in JAVA and translated it to JEXL 2.1
I need it to return the same results in both, but am not too picky about how it works
Everything was fine until this line
state = (state << 7) | (state >>> (64 - 7)); // couldn't get bit shift to work in JEXL
I cannot replicate this behavior in in JEXL2.1 Bit shift doesn't seem to exist at all, I tried to replicate with multiplication and division and was getting odd off by 1 errors.
By the way.. I'm open to changing the java as long as it basically does the same thing.