From 4bba6e7176632b4d760ba9362a1515552471d741 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 29 Apr 2016 21:54:39 +0200 Subject: Some optimisations, fix refsheet, and disable const/pure attributes in gmp in benchmark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zsetu.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/zsetu.c (limited to 'src/zsetu.c') diff --git a/src/zsetu.c b/src/zsetu.c deleted file mode 100644 index 42e8cec..0000000 --- a/src/zsetu.c +++ /dev/null @@ -1,16 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#include "internals.h" - - -void -zsetu(z_t a, uint64_t b) -{ - if (!b) { - SET_SIGNUM(a, 0); - return; - } - ENSURE_SIZE(a, 1); - SET_SIGNUM(a, 1); - a->chars[0] = (zahl_char_t)b; - a->used = 1; -} -- cgit v1.2.3-70-g09d2