summaryrefslogtreecommitdiffstats
path: root/arith.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-01-27 06:30:11 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-01-27 06:30:11 -0800
commite9b78ff2c7a7765b842588c9a93f84956de9834d (patch)
tree7a0bd22f89841184171f4344cf3080434b593e02 /arith.h
parent0515d6ee6af5f16a951f7dd61ddc3f3e2cd0e562 (diff)
downloadtxr-e9b78ff2c7a7765b842588c9a93f84956de9834d.tar.gz
txr-e9b78ff2c7a7765b842588c9a93f84956de9834d.tar.bz2
txr-e9b78ff2c7a7765b842588c9a93f84956de9834d.zip
* arith.c (width): New function.
* arith.h (width): Declared. * eval.c (eval_init): Width registered as intrisinc. * txr.1: Documented width.
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 2633c296..29561c61 100644
--- a/arith.h
+++ b/arith.h
@@ -35,4 +35,5 @@ val n_choose_k(val n, val k);
val n_perm_k(val n, val k);
val tofloat(val obj);
val toint(val obj, val base);
+val width(val num);
void arith_init(void);