public static Atom Xor(Atom args, Context context) { CheckAllNumbers(args); object res = ((Atom)args?.value).value; for (Atom iter = args.next; iter != null; iter = iter.next) { res = UNumber.Xor(res, ((Atom)iter.value).value); } return(new Atom(AtomType.Number, res)); }