Searched refs:fromRadians (Results 1 – 2 of 2) sorted by relevance
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/ |
D | BRTest.java | 63 private static CR fromRadians(CR x) { in fromRadians() method in BRTest 109 fromRadians(ASIN.execute(xAsCR)), "degree asin:" + x); in checkBR() 111 fromRadians(ACOS.execute(xAsCR)), "degree acos:" + x); in checkBR() 113 checkWeakEq(BoundedRational.atan(x), fromRadians(ATAN.execute(xAsCR)), in checkBR() 116 fromRadians(ATAN.execute(xAsCR)), "degree atan:" + x); in checkBR()
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorExpr.java | 679 private CR fromRadians(CR x, EvalContext ec) { in fromRadians() method in CalculatorExpr 839 fromRadians(UnaryCRFunction.asinFunction.execute(argVal.val),ec), null); in evalUnary() 851 fromRadians(UnaryCRFunction.acosFunction.execute(argVal.val),ec), null); in evalUnary() 863 fromRadians(UnaryCRFunction.atanFunction.execute(argVal.val),ec), null); in evalUnary()
|