summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2aff9393..facc151b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
2014-10-16 Kaz Kylheku <kaz@kylheku.com>
+ * arith.c (gcd): Fix semantics. If either operand is
+ zero, return the other operand.
+ (lcm): New function.
+
+ * eval.c (eval_init): Retarget registration of gcd to
+ variable argument gcdv function. Register lcm.
+
+ * lib.c (gcdv, lcmv): New functions.
+
+ * lib.h (gcdv, lcm, lcmv): Declared.
+
+ * txr.1: Re-document gcd with coverage of lcm.
+
+ * txr.vim: Regenerated.
+
+2014-10-16 Kaz Kylheku <kaz@kylheku.com>
+
* arith.c (gcd, lognot): Bugfix: bignum results
in fixnum range not normalized.