diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-11 20:45:37 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-11 20:45:37 -0800 |
commit | c1535145101cf8758f3716c2e4fd3ddaa722f21c (patch) | |
tree | 1d6883ffff0ba1ca3c03c4fbbf1d5aa79008b511 /arith.h | |
parent | 5ee9c6e95736d9ae925fedab4caa0c615d115fb2 (diff) | |
download | txr-c1535145101cf8758f3716c2e4fd3ddaa722f21c.tar.gz txr-c1535145101cf8758f3716c2e4fd3ddaa722f21c.tar.bz2 txr-c1535145101cf8758f3716c2e4fd3ddaa722f21c.zip |
* arith.c (to_float): Print function name as ~a rather than ~s,
so it doesn't have quotes around it.
(cum_norm_dist): New function.
* arith.h (cum_norm_dist): Declared.
* eval.c: Include arith.h.
(eval_init): Register cum_norm_dist as intrinsic.
* txr.1: Documented cum-norm-dist.
Diffstat (limited to 'arith.h')
-rw-r--r-- | arith.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,4 +30,5 @@ val bignum_from_long(long l); int highest_bit(int_ptr_t n); val normalize(val bignum); val in_int_ptr_range(val bignum); +val cum_norm_dist(val x); void arith_init(void); |