Lines Matching refs:checkEq

36     private static void checkEq(CR x, CR y, String s) {  in checkEq()  method in SlowCRTest
83 checkEq(ARCSINE.execute(x), x.asin(), in checkTrig()
89 checkEq(COSINE.execute(x), x.cos(), in checkTrig()
96 checkEq( in checkTrig()
101 checkEq(x.cos().multiply(x.cos()).add(x.sin().multiply(x.sin())), in checkTrig()
105 checkEq(x, TAN.execute(ATAN.execute(x)), in checkTrig()
117 checkEq(tmp, tmp2, "Asin(sin) computations differ:" + xAsDouble); in checkTrig()
132 checkEq(x, x.exp().ln(), "ln(exp) failed:" + xAsDouble); in checkExpLn()
133 checkEq(x.multiply(CR.valueOf(2)).exp(), in checkExpLn()
141 checkEq(x, x.ln().exp(), "exp(ln) failed:" + xAsDouble); in checkExpLn()
142 checkEq(x.ln().divide(CR.valueOf(2)), x.sqrt().ln(), in checkExpLn()
147 checkEq( in checkExpLn()
156 checkEq(x.abs().sqrt().multiply(x.abs().sqrt()), x.abs(), in checkBasic()
159 checkEq(x.inverse().inverse(), x, in checkBasic()
165 checkEq(ZERO.acos(), CR.PI.divide(TWO), "acos(0)"); in testSlowTrig()
166 checkEq(ONE.acos(), ZERO, "acos(1)"); in testSlowTrig()
167 checkEq(ONE.negate().acos(), CR.PI, "acos(-1)"); in testSlowTrig()
168 checkEq(ZERO.asin(), ZERO, "asin(0)"); in testSlowTrig()
169 checkEq(ONE.asin(), CR.PI.divide(TWO), "asin(1)"); in testSlowTrig()
170 checkEq(ONE.negate().asin(), CR.PI.divide(TWO).negate(), "asin(-1)"); in testSlowTrig()
200 checkEq(CR.valueOf(1).ln(), CR.valueOf(0), "ln(1) != 0"); in testSlowExpLn()
228 checkEq(ZERO.sqrt(), ZERO, "sqrt(0)"); in testSlowBasic()
229 checkEq(ZERO.abs(), ZERO, "abs(0)"); in testSlowBasic()