public void writeTermList(Expression list) {
		boolean first = true;
		for (Term t : list.list) {
			if (first) {
				writer.print((t.constant == 1f ? "" : (t.constant == -1f ? "-"
						: t.constant == Math.ceil(t.constant) ? Integer
								.toString((int) t.constant) : t.constant))
						+ " " + t.variable + " ");
				first = false;
				continue;
			}
			writer.print((t.constant < 0 ? " -" : " +")
					+ " "
					+ (Math.abs(t.constant) == 1f ? "" : t.constant == Math
							.ceil(t.constant) ? Integer.toString((int) Math
							.abs(t.constant)) : Math.abs(t.constant)) + " "
					+ t.variable);
		}
	}