diff options
| author | Mattias EngdegÄrd | 2020-05-15 14:52:50 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-05-15 20:15:36 +0200 |
| commit | 60cd6cce55744e8d3ae844e0602c9dd268dc4bc3 (patch) | |
| tree | 168fe989cb322c487b017f4f4ed293be6a40cb5c /src/bytecode.c | |
| parent | b76cdd0c1a7978decc0c1044ad23ecc9432c526a (diff) | |
| download | emacs-60cd6cce55744e8d3ae844e0602c9dd268dc4bc3.tar.gz 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 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions