The trigrat function locally sets gcd to subres. Changing to spmod at least eliminates the "polynomial not...." error in 32 bit CCL. --bw ----maxima-bounces at math.utexas.edu wrote: -----