diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-09-17 07:37:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-09-17 07:37:40 -0700 |
commit | 01628a8244053ced7dd0f20e13e4ce3ff3e81481 (patch) | |
tree | f92cca343580e6d1f6035482f3eaa8c2aae6a3cf /ChangeLog | |
parent | e27921f29d6b78d5c868d9160e5c12e9a49b4f97 (diff) | |
download | txr-01628a8244053ced7dd0f20e13e4ce3ff3e81481.tar.gz txr-01628a8244053ced7dd0f20e13e4ce3ff3e81481.tar.bz2 txr-01628a8244053ced7dd0f20e13e4ce3ff3e81481.zip |
* arith.c (highest_significant_bit): New static function.
(comp_clamp): Bugfix: avoid shifting left into sign bit. Function
renamed to comp_trunc.
(logtrunc, ash): New functions.
* eval.c (eval_init): Registered logtrunc and ash intrinsics.
* lib.h (logtrunc, ash): Declared.
* mpi-patches/add-bitops (s_highest_bit_mp): Forward declaration for
added.
(mp_clamp_comp): Bugfix in handling remainder bits. Function
renamed to mp_trunc_comp.
(mp_trunc, mp_shift): New functions.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -1,3 +1,35 @@ +2012-09-17 Kaz Kylheku <kaz@kylheku.com> + + * arith.c (highest_significant_bit): New static function. + (comp_clamp): Bugfix: avoid shifting left into sign bit. Function + renamed to comp_trunc. + (logtrunc, ash): New functions. + + * eval.c (eval_init): Registered logtrunc and ash intrinsics. + + * lib.h (logtrunc, ash): Declared. + + * mpi-patches/add-bitops (s_highest_bit_mp): Forward declaration for + added. + (mp_clamp_comp): Bugfix in handling remainder bits. Function + renamed to mp_trunc_comp. + (mp_trunc, mp_shift): New functions. + +2012-09-17 Kaz Kylheku <kaz@kylheku.com> + + * arith.c (highest_significant_bit): New static function. + (comp_clamp): Bugfix: avoid shifting left into sign bit. + (logclamp, ash): New functions. + + * eval.c (eval_init): Registered logclamp and ash intrinsics. + + * lib.h (logclamp, ash): Declared. + + * mpi-patches/add-bitops (s_highest_bit_mp): Forward declaration for + added. + (mp_comp_clamp): Bugfix in handling remainder bits. + (mp_clamp, mp_shift): New functions. + 2012-09-16 Kaz Kylheku <kaz@kylheku.com> * mpi-patches/add-bitops: Bugfixes: mp_2comp is extended to properly |