diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-09-16 22:46:14 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-09-16 22:46:14 -0700 |
commit | cce735e189bfcfd4a211fd856bc1850dce9b9d8c (patch) | |
tree | 65a9d2862ef61606e592fe9c516efc70b2d0e340 /ChangeLog | |
parent | 20a8ba5e5d546d8962802447d40636ec0cf299c8 (diff) | |
download | txr-cce735e189bfcfd4a211fd856bc1850dce9b9d8c.tar.gz txr-cce735e189bfcfd4a211fd856bc1850dce9b9d8c.tar.bz2 txr-cce735e189bfcfd4a211fd856bc1850dce9b9d8c.zip |
* arith.c (logand, logior, logxor): Bugfix: result needs to be
normalized, otherwise we end up with fixnum-range bignums.
(comp_clamp): New function.
(logcomp): Changed to two argument form. If second argument
is present (not nil) then call comp_clamp.
* eval.c (eval_init): Change registration of logcomp to allow
optional argument.
* lib.h (logcomp): Declaration updated.
* mpi-patches/add-bitops: New mp_clamp_comp function implemented.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,20 @@ 2012-09-16 Kaz Kylheku <kaz@kylheku.com> + * arith.c (logand, logior, logxor): Bugfix: result needs to be + normalized, otherwise we end up with fixnum-range bignums. + (comp_clamp): New function. + (logcomp): Changed to two argument form. If second argument + is present (not nil) then call comp_clamp. + + * eval.c (eval_init): Change registration of logcomp to allow + optional argument. + + * lib.h (logcomp): Declaration updated. + + * mpi-patches/add-bitops: New mp_clamp_comp function implemented. + +2012-09-16 Kaz Kylheku <kaz@kylheku.com> + Adding complementing function. * arith.c (logcomp): New function. |