aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorTino Calancha2017-05-18 14:47:06 +0900
committerTino Calancha2017-05-18 14:47:06 +0900
commitc48e539226a062d01b8d5534644fae959506a743 (patch)
treebff2bc631c358f616ab51c671c2a60201e9488a6 /src/data.c
parenteab1a6307b09180bd775cfb6bf7330eb5367bbe0 (diff)
downloademacs-c48e539226a062d01b8d5534644fae959506a743.tar.gz
emacs-c48e539226a062d01b8d5534644fae959506a743.zip
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.
Diffstat (limited to 'src/data.c')
0 files changed, 0 insertions, 0 deletions