diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-03-04 23:54:02 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-03-04 23:54:02 -0800 |
commit | 22ed7f473a5c1e1db722286f98b2457a74cc1ca7 (patch) | |
tree | 203257c74c2b30f1aaa11afc51f28d1d55f80755 /eval.c | |
parent | 039e2ebdfa5670de7a35084fd480fe204afbdc8b (diff) | |
download | txr-22ed7f473a5c1e1db722286f98b2457a74cc1ca7.tar.gz txr-22ed7f473a5c1e1db722286f98b2457a74cc1ca7.tar.bz2 txr-22ed7f473a5c1e1db722286f98b2457a74cc1ca7.zip |
* arith.c (logten): New function.
* eval.c (eval_init): logten registered as intrinsic.
* lib.h (logten): Declared.
* txr.1: Documented.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3241,6 +3241,7 @@ void eval_init(void) reg_fun(intern(lit("atan"), user_package), func_n1(atang)); reg_fun(intern(lit("atan2"), user_package), func_n2(atang2)); reg_fun(intern(lit("log"), user_package), func_n1(loga)); + reg_fun(intern(lit("log10"), user_package), func_n1(logten)); reg_fun(intern(lit("exp"), user_package), func_n1(expo)); reg_fun(intern(lit("sqrt"), user_package), func_n1(sqroot)); reg_fun(intern(lit("cum-norm-dist"), user_package), func_n1(cum_norm_dist)); |