Searched refs:ratio_set (Results 1 – 2 of 2) sorted by relevance
98 interval_set<rational<int> > ratio_set(unit_set); in main() local99 ratio_set -= rational<int>(1,3); // Subtract 1/3 from the set in main()102 cout << "1/3 subtracted from [0..1) : " << ratio_set << endl; in main()103 cout << "The set does " << string(contains(ratio_set, rational<int>(1,3))?"":"NOT") in main()105 ratio_set ^= unit_set; in main()106 cout << "Flipping the holey set : " << ratio_set << endl; in main()
107 interval_set<rational<int> > ratio_set(unit_set); in main() local