next up previous contents
Next: File Operations Up: Programming Help Previous: Graphics

Binary operations

  

Long integers can be used to represent subsets of an n-element set, for n up to n=15 (Why?). Single number k corresponds to long integer tex2html_wrap_inline1745 , the set tex2html_wrap_inline1747 is represented by tex2html_wrap_inline1749 , etc.

If S, T are integers representing sets, then S AND T represents the intersection of sets, S OR T is the union, and S AND NOT T is the difference of sets.

To check if tex2html_wrap_inline1751 , verify if 2^j AND T is non-zero.



Send comment