diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-22 10:38:17 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-22 10:38:17 -0700 |
commit | 946c88ae095260a816aae8e1d5eacb32e4424718 (patch) | |
tree | 8fab69b645bd690e524ee4250f45bfa69737f3d5 /lib.h | |
parent | 6254e4fa987437b1d785cae66122d707c886e144 (diff) | |
download | txr-946c88ae095260a816aae8e1d5eacb32e4424718.tar.gz txr-946c88ae095260a816aae8e1d5eacb32e4424718.tar.bz2 txr-946c88ae095260a816aae8e1d5eacb32e4424718.zip |
* arith.c (floorf, ceili, sine, cosi, atang, loga): New functions.
* eval.c (eval_init): New intrinsic functions registered:
floor, ceil, sin, cons, atan, log.
* lib.h (floorf, ceili, sine, cosi, atang, loga): Declared.
* txr.1: Doc stub section for new functions.
* txr.vim: Highighting added.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -426,6 +426,12 @@ val exptv(val nlist); val exptmod(val base, val exp, val mod); val sqroot(val anum); val gcd(val anum, val bnum); +val floorf(val); +val ceili(val); +val sine(val); +val cosi(val); +val atang(val); +val loga(val); val string_own(wchar_t *str); val string(const wchar_t *str); val string_utf8(const char *str); |