1 /* Return the leading coefficient of a polynomial.
11 The result is undefined if P is not a polynomial. */
24 if (p1
== symbol(NIL
))
43 push(P
); // N = degree of P
48 push(P
); // divide through by X ^ N
54 push(X
); // remove terms that depend on X