Lines Matching refs:two
71 CR two = CR.valueOf(2);
75 check(one.compareTo(two, -10) == -1, "comparison failed");
76 check(two.toString(4).compareTo("2.0000") == 0, "toString failed");
77 check_eq(one.shiftLeft(1),two, "shiftLeft failed");
78 check_eq(two.shiftRight(1),one, "shiftRight failed");
79 check_eq(one.add(one),two, "add failed 1");
80 check_eq(one.max(two),two, "max failed");
81 check_eq(one.min(two),one, "min failed");
84 CR three = two.add(one);
85 CR four = two.add(two);
88 check_eq(one.negate().add(two), one, "negate failed");
90 check_eq(two.multiply(two), four, "multiply failed");
92 check_eq(two.divide(one.negate()), two.negate(), "divide(neg) failed");
106 CR half_pi = CR.PI.divide(two);
107 CR half = one.divide(two);