12 if (p1
== symbol(NIL
))
19 //-----------------------------------------------------------------------------
21 // Find the degree of a polynomial
27 // Output: Result on stack
29 // Note: Finds the largest numerical power of x. Does not check for
32 //-----------------------------------------------------------------------------
56 } else if (car(p
) == symbol(POWER
)) {
57 if (equal(cadr(p
), X
) && isnum(caddr(p
)) && lessp(DEGREE
, caddr(p
)))
59 } else if (iscons(p
)) {