summaryrefslogtreecommitdiffstats
path: root/arith.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-01-11 20:45:37 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-01-11 20:45:37 -0800
commitc1535145101cf8758f3716c2e4fd3ddaa722f21c (patch)
tree1d6883ffff0ba1ca3c03c4fbbf1d5aa79008b511 /arith.h
parent5ee9c6e95736d9ae925fedab4caa0c615d115fb2 (diff)
downloadtxr-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arith.h b/arith.h
index 79dcc327..ef341707 100644
--- a/arith.h
+++ b/arith.h
@@ -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);