summaryrefslogtreecommitdiff
path: root/mpf/fits_slong.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-10-01 23:40:29 +0200
committerKevin Ryde <user42@zip.com.au>2001-10-01 23:40:29 +0200
commit5201c5af7032e5d12d915215a73a9942a0ec2761 (patch)
tree77ff0bcfad5132933319dfe2f013777bfe97cd80 /mpf/fits_slong.c
parenta16317876af156a0d82ce1913e3bb79c35194706 (diff)
downloadgmp-5201c5af7032e5d12d915215a73a9942a0ec2761.tar.gz
* mpf/fits_sshort.c, mpf/fits_sint.c, mpf/fits_slong.c: New files.
Diffstat (limited to 'mpf/fits_slong.c')
-rw-r--r--mpf/fits_slong.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/mpf/fits_slong.c b/mpf/fits_slong.c
new file mode 100644
index 000000000..012ef3051
--- /dev/null
+++ b/mpf/fits_slong.c
@@ -0,0 +1,27 @@
+/* mpf_fits_slong_p -- test whether an mpf fits a long.
+
+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_slong_p
+#define MAXIMUM LONG_MAX
+#define MINIMUM LONG_MIN
+
+#include "fits_s.i"