From c0bc7b6e2d090554c9d940bc3614e089a688503a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Mar 2016 10:33:29 +0100 Subject: Add zabs, zadd, zdiv, zmod, zmodmul, zmodpow, zneg, zpow, zsub, and the newly introduced zmodsqr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zmod.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/zmod.c (limited to 'src/zmod.c') diff --git a/src/zmod.c b/src/zmod.c new file mode 100644 index 0000000..7b54748 --- /dev/null +++ b/src/zmod.c @@ -0,0 +1,9 @@ +/* See LICENSE file for copyright and license details. */ +#include "internals" + + +void +zmod(z_t a, z_t b, z_t c) +{ + zdivmod(libzahl_tmp_mod, a, b, c); +} -- cgit v1.2.3-70-g09d2