summaryrefslogtreecommitdiff
path: root/mpf/fits_ushort.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-10-01 23:41:51 +0200
committerKevin Ryde <user42@zip.com.au>2001-10-01 23:41:51 +0200
commitadb7a358858693dc2d5c80f979be53d76e51e8b2 (patch)
treed3b533e30c95ecf1079511efbfba164d59a3b2bf /mpf/fits_ushort.c
parent5201c5af7032e5d12d915215a73a9942a0ec2761 (diff)
downloadgmp-adb7a358858693dc2d5c80f979be53d76e51e8b2.tar.gz
* mpf/fits_ushort.c, mpf/fits_uint.c, mpf/fits_ulong.c: New files.
Diffstat (limited to 'mpf/fits_ushort.c')
-rw-r--r--mpf/fits_ushort.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/mpf/fits_ushort.c b/mpf/fits_ushort.c
new file mode 100644
index 000000000..a9435e273
--- /dev/null
+++ b/mpf/fits_ushort.c
@@ -0,0 +1,26 @@
+/* mpf_fits_ushort_p -- test whether an mpf fits an unsigned short.
+
+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 FUNCTION mpf_fits_ushort_p
+#define MAXIMUM USHRT_MAX
+
+#include "fits_u.i"