summaryrefslogtreecommitdiff
path: root/mpz/sub_ui.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-10-01 23:51:40 +0200
committerKevin Ryde <user42@zip.com.au>2001-10-01 23:51:40 +0200
commit001f10830b24e63f1e25db1a2dc665862e2c7b0f (patch)
tree19ade47c135f06eee091b5eae7b477b3695dd754 /mpz/sub_ui.c
parent4e8d51fd075e4731c147f5ded78f011c298ee102 (diff)
downloadgmp-001f10830b24e63f1e25db1a2dc665862e2c7b0f.tar.gz
* mpz/add_ui.c, mpz/sub_ui.c: New files, using mpz/aors_ui.i.
Diffstat (limited to 'mpz/sub_ui.c')
-rw-r--r--mpz/sub_ui.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/mpz/sub_ui.c b/mpz/sub_ui.c
new file mode 100644
index 000000000..8869c1db1
--- /dev/null
+++ b/mpz/sub_ui.c
@@ -0,0 +1,24 @@
+/* mpz_sub_ui -- Subtract an mpz_t and an unsigned one-word integer.
+
+Copyright 2001 Free Software Foundation, Inc.
+
+This file is part of the GNU MP Library.
+
+The GNU MP Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or (at your
+option) any later version.
+
+The GNU MP Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with the GNU MP Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA. */
+
+
+#define OPERATION_sub_ui
+#include "aors_ui.i"