public virtual IDynamic Op_BitwiseAnd(IDynamic other) { var lnum = (int)(double)this.ConvertToInt32().BaseValue; var rnum = (int)(double)other.ConvertToInt32().BaseValue; return(Environment.CreateNumber((double)(lnum & rnum))); }
public virtual IDynamic Op_BitwiseXor(IDynamic other) { var lnum = (int)(double)this.ConvertToInt32().BaseValue; var rnum = (int)(double)other.ConvertToInt32().BaseValue; return Environment.CreateNumber((double)(lnum ^ rnum)); }