Function: math-to-ratpoly

math-to-ratpoly is an autoloaded and byte-compiled function defined in calc-poly.el.gz.

Signature

(math-to-ratpoly EXPR)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-poly.el.gz
;;; Returns expressions (num . denom).
(defun math-to-ratpoly (expr)
  (let ((res (math-to-ratpoly-rec expr)))
    (cons (math-simplify (car res)) (math-simplify (cdr res)))))