Lines Matching defs:compatible
882 ;; The variable math-fcu-u is local to math-find-compatible-unit,
883 ;; but is used by math-find-compatible-rec which is called by
884 ;; math-find-compatible-unit.
887 (defun math-find-compatible-unit (expr unit)
890 (math-find-compatible-unit-rec expr 1))))
892 (defun math-find-compatible-unit-rec (expr pow)
894 (or (math-find-compatible-unit-rec (nth 1 expr) pow)
895 (math-find-compatible-unit-rec (nth 2 expr) pow)))
897 (or (math-find-compatible-unit-rec (nth 1 expr) pow)
898 (math-find-compatible-unit-rec (nth 2 expr) (- pow))))
901 (math-find-compatible-unit-rec (nth 1 expr) (* pow (nth 2 expr))))
921 (math-find-compatible-unit expr math-cu-new-units)))