From 391abdde2d48aac8fc18978a1f3a26b9f0ae6bc8 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 7 Aug 2017 20:14:17 -0700 Subject: New divides function. * arith.c (divides): New function. (arith_init): Intrinsic registered. * arith.h (divides): Declared. * txr.1: Documented. --- arith.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arith.h') diff --git a/arith.h b/arith.h index 29e65706..235d4ba1 100644 --- a/arith.h +++ b/arith.h @@ -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); -- cgit v1.2.3