File tree 1 file changed +6
-1
lines changed
modules/symja-evaluator/src/main/java/com/symja/evaluator
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 5
5
import androidx .annotation .NonNull ;
6
6
import androidx .annotation .WorkerThread ;
7
7
8
+ import com .symja .common .logging .DLog ;
8
9
import com .symja .evaluator .config .SymjaEvaluationConfig ;
9
10
11
+ import org .apfloat .FixedPrecisionApfloatHelper ;
10
12
import org .matheclipse .core .basic .Config ;
11
13
import org .matheclipse .core .basic .OperationSystem ;
12
14
import org .matheclipse .core .eval .EvalEngine ;
@@ -88,7 +90,10 @@ public SymjaResult eval(IExpr expr) throws Exception {
88
90
try {
89
91
long precision = finalExpr .determinePrecision ();
90
92
EvalEngine evalEngine = exprEvaluator .getEvalEngine ();
91
- evalEngine .setNumericPrecision (precision );
93
+ FixedPrecisionApfloatHelper fixedPrecisionApfloatHelper = evalEngine .setNumericPrecision (precision );
94
+ if (DLog .DEBUG ) {
95
+ DLog .d (TAG , "fixedPrecisionApfloatHelper = " + fixedPrecisionApfloatHelper );
96
+ }
92
97
93
98
final StringWriter outWriter = new StringWriter ();
94
99
WriterOutputStream stdOut = new WriterOutputStream (outWriter );
You can’t perform that action at this time.
0 commit comments