public static EcmaValue BitwiseAND(EcmaState state, EcmaValue left, EcmaValue right) { return(EcmaValue.Number(left.ToInt32(state) & right.ToInt32(state))); }
public static EcmaValue RightShift(EcmaState state, EcmaValue left, EcmaValue right) { return(EcmaValue.Number(left.ToInt32(state) >> right.ToInt32(state))); }
public static EcmaValue LeftShit(EcmaState state, EcmaValue left, EcmaValue right) { return(EcmaValue.Number(left.ToInt32(state) << right.ToInt32(state))); }
public static EcmaValue UnsignedRightShit(EcmaState state, EcmaValue left, EcmaValue right) { return(EcmaValue.Number((uint)left.ToInt32(state) >> (int)(right.ToUint32(state) & 0x1F))); }