2eda81da05ab59c46d1d7707e2dfc45f29340c55
[platform/framework/web/crosswalk-tizen.git] /
1
2     /**
3      * Bitwise circular shift right
4      * http://en.wikipedia.org/wiki/Circular_shift
5      */
6     function ror(val, shift){
7         return (val >> shift) | (val << (32 - shift));
8     }
9     module.exports = ror;
10