diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-07-18 06:59:26 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-07-18 06:59:26 -0700 |
commit | c9977c0132b2a6a3df994dbdf58c27689658f20f (patch) | |
tree | 72601b227e5a9868e990e41936016e59473c6979 /ChangeLog | |
parent | 50c2dbed6f823a286d40a1378626467b09363cbb (diff) | |
download | txr-c9977c0132b2a6a3df994dbdf58c27689658f20f.tar.gz txr-c9977c0132b2a6a3df994dbdf58c27689658f20f.tar.bz2 txr-c9977c0132b2a6a3df994dbdf58c27689658f20f.zip |
* Makefile (conftest, conftest2): Link math
library so we can test for math functions.
* arith.c (log2_init): New static function.
(log2, logtwo): New functions.
(l2): New static variable.
(arith_init): Call log2_init.
* configure (lang_flags): Switching _XOPEN_SOURCE
from 500 to 600 to reveal log2.
Adding test for log2.
* eval.c (eval_init): Register log2 intrinsic.
* lib.h (logtwo): Declared.
* txr.1: Documented log2.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,23 @@ +2014-07-18 Kaz Kylheku <kaz@kylheku.com> + + * Makefile (conftest, conftest2): Link math + library so we can test for math functions. + + * arith.c (log2_init): New static function. + (log2, logtwo): New functions. + (l2): New static variable. + (arith_init): Call log2_init. + + * configure (lang_flags): Switching _XOPEN_SOURCE + from 500 to 600 to reveal log2. + Adding test for log2. + + * eval.c (eval_init): Register log2 intrinsic. + + * lib.h (logtwo): Declared. + + * txr.1: Documented log2. + 2014-07-15 Kaz Kylheku <kaz@kylheku.com> * match.c (v_do, v_require): Set up and tear down environment frame, |