diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-08-07 20:14:17 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-08-07 20:14:17 -0700 |
commit | 391abdde2d48aac8fc18978a1f3a26b9f0ae6bc8 (patch) | |
tree | 79506c783370195c69ae42282af76fce0cbbbb62 /arith.h | |
parent | 78ab514b4f3b481ae006821520c6344768a529b3 (diff) | |
download | txr-391abdde2d48aac8fc18978a1f3a26b9f0ae6bc8.tar.gz txr-391abdde2d48aac8fc18978a1f3a26b9f0ae6bc8.tar.bz2 txr-391abdde2d48aac8fc18978a1f3a26b9f0ae6bc8.zip |
New divides function.
* arith.c (divides): New function.
(arith_init): Intrinsic registered.
* arith.h (divides): Declared.
* txr.1: Documented.
Diffstat (limited to 'arith.h')
-rw-r--r-- | arith.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ val unum(ucnum u); val cum_norm_dist(val x); val n_choose_k(val n, val k); val n_perm_k(val n, val k); +val divides(val d, val n); val tofloat(val obj); val toint(val obj, val base); val tofloatz(val obj); |