diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-09-16 13:40:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-09-16 13:40:13 -0700 |
commit | 26c497d7da95a7d3f38bfcf7868ab65378f88007 (patch) | |
tree | acf59590b4ca25e4231ec9a3817409aa90fe36cf /ChangeLog | |
parent | 14e48e6f78988bc323908df944fe0a534a38629d (diff) | |
download | txr-26c497d7da95a7d3f38bfcf7868ab65378f88007.tar.gz txr-26c497d7da95a7d3f38bfcf7868ab65378f88007.tar.bz2 txr-26c497d7da95a7d3f38bfcf7868ab65378f88007.zip |
Starting work on adding bit operations. The semantics is that
negative integers behave as an "infinite bit two's complement".
* arith.c (logand, logor, logxor): New functions.
* eval.c (eval_init): New intrinsic functions logand, logior, logxor.
* lib.h (logand, logor, logxor): Declared.
* mpi-patches/series: New patch, add-bitops.
* mpi-patches/add-bitops: New file.
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> + Starting work on adding bit operations. The semantics is that + negative integers behave as an "infinite bit two's complement". + + * arith.c (logand, logor, logxor): New functions. + + * eval.c (eval_init): New intrinsic functions logand, logior, logxor. + + * lib.h (logand, logor, logxor): Declared. + + * mpi-patches/series: New patch, add-bitops. + + * mpi-patches/add-bitops: New file. + +2012-09-16 Kaz Kylheku <kaz@kylheku.com> + * stream.c (vformat): Fix bug in ~x format directive for printing integers in hex. When we use the printf's %x conversion specifiers for fixnums, we get incorrect results when the values are negative, because |