* lisp/calc/calc-units.el (calc-convert-exact-units): Improve the

simplification.
This commit is contained in:
Jay Belanger 2015-01-28 21:37:24 -06:00
parent 43fdb2a080
commit 4ba343984f

View file

@ -544,7 +544,7 @@ If COMP or STD is non-nil, put that in the units table instead."
(let ((res
(list '* (math-mul (math-remove-units expr)
(math-simplify-units
(list '/ old-units units)))
(math-to-standard-units (list '/ old-units units) nil)))
units)))
(calc-enter-result 1 "cvxu" res))))))