summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-05-15 14:52:50 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2020-05-15 20:15:36 +0200
commit60cd6cce55744e8d3ae844e0602c9dd268dc4bc3 (patch)
tree168fe989cb322c487b017f4f4ed293be6a40cb5c /lisp/emacs-lisp/regexp-opt.el
parentb76cdd0c1a7978decc0c1044ad23ecc9432c526a (diff)
downloademacs-60cd6cce55744e8d3ae844e0602c9dd268dc4bc3.tar.gz
emacs-60cd6cce55744e8d3ae844e0602c9dd268dc4bc3.tar.bz2
emacs-60cd6cce55744e8d3ae844e0602c9dd268dc4bc3.zip
Calc: GCD(0,x)=GCD(x,0)=|x|, not x (bug#41279)
Reported by David Ongaro. * lisp/calc/calc-comb.el (calcFunc-gcd): Fix GCD simplification. * test/lisp/calc/calc-tests.el (calc-gcd, calc-sum-gcd): New tests.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions