179
179
(cond ((null terms-g)(return nil)))
180
180
(setq prod-exp (f+ f-exp (term-deg terms-g)))
181
181
(setq prod-cof (afp-times(term-cof terms-g) f-cof))
183
183
((or (null answ) (> prod-exp (term-deg answ)))
184
184
(setq answ (cons prod-exp (cons prod-cof answ)))
186
186
((eql prod-exp (term-deg answ))
187
187
(setq prod-cof (pplus (term-cof answ) prod-cof))
188
188
(cond ((pzerop prod-cof) (setq answ (cddr answ))
190
190
(t (setf (term-cof answ) prod-cof)
192
192
;;below here assume answ not empty and (term-deg answ)
193
193
;;greater any possible future prod-exp (until next
194
194
;;f-exp,f-cof) Once below this point we stay below,