Lines Matching refs:valueOf
69 CR zero = CR.valueOf(0); in testCR()
70 CR one = CR.valueOf(1); in testCR()
71 CR two = CR.valueOf(2); in testCR()
86 check_eq(CR.valueOf(4), four, "2 + 2 failed"); in testCR()
87 check_eq(CR.valueOf(3), three, "2 + 1 failed"); in testCR()
93 CR thirteen = CR.valueOf(13); in testCR()
108 BigInteger million = BigInteger.valueOf(1000*1000); in testCR()
109 BigInteger thousand = BigInteger.valueOf(1000); in testCR()
110 CR huge = CR.valueOf(million.multiply(million).multiply(thousand)); in testCR()
135 CR tmp = CR.PI.add(CR.valueOf(-123).exp()); in testCR()
142 check_appr_eq(Math.sin(n), CR.valueOf(n).sin().doubleValue(), in testCR()
144 check_appr_eq(Math.cos(n), CR.valueOf(n).cos().doubleValue(), in testCR()
146 check_appr_eq(Math.exp(n), CR.valueOf(n).exp().doubleValue(), in testCR()
149 CR.valueOf(0.1*n).asin().doubleValue(), in testCR()
152 CR.valueOf(0.1*n).acos().doubleValue(), in testCR()
155 check_appr_eq(Math.log(n), CR.valueOf(n).ln().doubleValue(), in testCR()
160 CR.valueOf(12345678).cos().doubleValue(), in testCR()