continue;
output = output.append(new ConsCell('^', ConsType.OPERATOR)).append(exp.clone());
continue;
}
//For anything else, stick the exponent in parentheses and append it
output = output.append(new ConsCell('*', ConsType.OPERATOR)).append(key.clone()).append(new ConsCell('^', ConsType.OPERATOR)).append(new ConsCell(exp.clone(), ConsType.CONS_CELL));
}
if (coefficient.eq(BigDec.ONE) && result.length() >= 3 && result.getCarType(1) == ConsType.OPERATOR && (Character) result.getCar(1) == '*')
result = result.remove().remove();
return (negate && !compressNegative) ? new ConsCell('-', ConsType.OPERATOR, result, ConsType.CONS_CELL) : result;
}