emacs/lisp/calc
Tino Calancha c48e539226 Use the expression angle units while simplifying it
Don't use the angle mode, use the angle units included
in the expression instead (Bug#23889).
* lisp/calc/calc-alg.el (calc-input-angle-units): New defun.
(math-simplify): Use it.
* lisp/calc/calc-forms.el (math-to-hms, math-from-hms):
Don't use calc-angle-mode if math-simplifying-units is non-nil.
* lisp/calc/calc-math.el (calcFunc-nroot, math-from-radians)
(math-to-radians-2, math-from-radians-2): Don't convert angle
to radians if math-simplifying-units is non-nil.
* test/lisp/calc/calc-tests.el (test-calc-23889): Add test.
2017-05-18 14:47:06 +09:00
..
calc-aent.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-alg.el Use the expression angle units while simplifying it 2017-05-18 14:47:06 +09:00
calc-arith.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-bin.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-comb.el Use iteration in math-factorial-iter 2017-04-18 11:25:13 -07:00
calc-cplx.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-embed.el require cl-lib to fix fallout from mhtml series 2017-04-06 07:36:36 -06:00
calc-ext.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
calc-fin.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-forms.el Use the expression angle units while simplifying it 2017-05-18 14:47:06 +09:00
calc-frac.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-funcs.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-graph.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
calc-help.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-incom.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-keypd.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-lang.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-macs.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-map.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-math.el Use the expression angle units while simplifying it 2017-05-18 14:47:06 +09:00
calc-menu.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-misc.el Replace QUIT with maybe_quit 2017-01-25 21:25:37 -08:00
calc-mode.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-mtx.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-nlfit.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-poly.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-prog.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-rewr.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-rules.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-sel.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-stat.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-store.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-stuff.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-trail.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-undo.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-units.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-vec.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc-yank.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calc.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calcalg2.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calcalg3.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calccomp.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calcsel2.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00