summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-15 11:16:40 +0000
committerhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-15 11:16:40 +0000
commitc4ccb81bce61a549654e1a7e465ed7fc99835e16 (patch)
tree2326273e618256b9e95c509c90202763454b9127
parente02b7615fc6715baf1d9da6ed8ac6d6d4b79d671 (diff)
downloadmpfr-c4ccb81bce61a549654e1a7e465ed7fc99835e16.tar.gz
Yet another patch for include files.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@863 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--add_ui.c2
-rw-r--r--cmp.c2
-rw-r--r--cmp_ui.c2
-rw-r--r--div.c2
-rw-r--r--get_str.c2
-rw-r--r--log2.c2
-rw-r--r--mpz_set_fr.c2
-rw-r--r--mul_ui.c2
-rw-r--r--pi.c2
-rw-r--r--random.c2
-rw-r--r--random2.c2
-rw-r--r--set_d.c3
-rw-r--r--set_f.c2
-rw-r--r--set_q.c2
-rw-r--r--set_si.c2
-rw-r--r--set_str.c2
-rw-r--r--set_str_raw.c2
-rw-r--r--set_z.c2
-rw-r--r--sub_ui.c2
-rw-r--r--ui_div.c2
-rw-r--r--ui_sub.c2
-rw-r--r--urandomb.c2
-rw-r--r--zeta.c2
23 files changed, 24 insertions, 23 deletions
diff --git a/add_ui.c b/add_ui.c
index 3887d1efc..0759a626e 100644
--- a/add_ui.c
+++ b/add_ui.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
#define MON_INIT(xp, x, p, s) MPFR_PREC(x)=p; MPFR_MANT(x)=xp; MPFR_SIZE(x)=s;
diff --git a/cmp.c b/cmp.c
index 2c5ea2be6..fa0c5ea0a 100644
--- a/cmp.c
+++ b/cmp.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
/* returns 0 iff b = c
a positive value iff b > c
diff --git a/cmp_ui.c b/cmp_ui.c
index 3e3331d01..c8966e27f 100644
--- a/cmp_ui.c
+++ b/cmp_ui.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
/* returns a positive value if b>i*2^f,
a negative value if b<i*2^f,
diff --git a/div.c b/div.c
index f48d47faf..2899f540b 100644
--- a/div.c
+++ b/div.c
@@ -24,8 +24,8 @@ MA 02111-1307, USA. */
#include <stdlib.h>
#include "gmp.h"
#include "mpfr.h"
-#include "longlong.h"
#include "gmp-impl.h"
+#include "longlong.h"
/* #define DEBUG */
diff --git a/get_str.c b/get_str.c
index d621fa18d..dbee585ee 100644
--- a/get_str.c
+++ b/get_str.c
@@ -26,9 +26,9 @@ MA 02111-1307, USA. */
#include <stdlib.h>
#include <string.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
/*
Convert op to a string in base 'base' with 'n' digits and writes the
diff --git a/log2.c b/log2.c
index e2ef1ce6a..544c75e4f 100644
--- a/log2.c
+++ b/log2.c
@@ -22,9 +22,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include <math.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
mpfr_t __mpfr_const_log2; /* stored value of log(2) */
int __mpfr_const_log2_prec=0; /* precision of stored value */
diff --git a/mpz_set_fr.c b/mpz_set_fr.c
index d554d7f56..606eef5f1 100644
--- a/mpz_set_fr.c
+++ b/mpz_set_fr.c
@@ -20,9 +20,9 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
/* puts the mantissa of f into z, and returns 'exp' such that f = z * 2^exp
*/
diff --git a/mul_ui.c b/mul_ui.c
index 31c0c09e4..8591d7b36 100644
--- a/mul_ui.c
+++ b/mul_ui.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
void
#if __STDC__
diff --git a/pi.c b/pi.c
index ea502a7d4..03578bd19 100644
--- a/pi.c
+++ b/pi.c
@@ -22,9 +22,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include <math.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
#define A
diff --git a/random.c b/random.c
index 5941b3ce1..93fb47aa7 100644
--- a/random.c
+++ b/random.c
@@ -21,10 +21,10 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "urandom.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
/* Computes a random mpfr in [0, 1[ with precision MPFR_PREC */
diff --git a/random2.c b/random2.c
index 9a5204dd4..56037330c 100644
--- a/random2.c
+++ b/random2.c
@@ -23,9 +23,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
#if defined (__hpux) || defined (__alpha) || defined (__svr4__) || defined (__SVR4)
diff --git a/set_d.c b/set_d.c
index 3b132206b..19d356d32 100644
--- a/set_d.c
+++ b/set_d.c
@@ -21,9 +21,10 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
#include "gmp.h"
-#include "longlong.h"
+#include "gmp-mparam.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
#define NaN (0./0.) /* ensures a machine-independent NaN */
#define Infp (1/0.)
diff --git a/set_f.c b/set_f.c
index 448995b70..15a17111d 100644
--- a/set_f.c
+++ b/set_f.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
void
#if __STDC__
diff --git a/set_q.c b/set_q.c
index 5c2081368..9c40fb4d8 100644
--- a/set_q.c
+++ b/set_q.c
@@ -20,9 +20,9 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
/* set f to the rational q */
void
diff --git a/set_si.c b/set_si.c
index 764c56cf2..124e24607 100644
--- a/set_si.c
+++ b/set_si.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
void
#if __STDC__
diff --git a/set_str.c b/set_str.c
index c74f4f3f5..f0aa1e33b 100644
--- a/set_str.c
+++ b/set_str.c
@@ -28,9 +28,9 @@ MA 02111-1307, USA. */
#include <strings.h>
#endif
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
int
#if __STDC__
diff --git a/set_str_raw.c b/set_str_raw.c
index e1114ea8c..818f954b4 100644
--- a/set_str_raw.c
+++ b/set_str_raw.c
@@ -27,9 +27,9 @@ MA 02111-1307, USA. */
#include <strings.h>
#endif
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
/* Currently the number should be of the form +/- xxxx.xxxxxxEyy, with
decimal exponent. The mantissa of x is supposed to be large enough
diff --git a/set_z.c b/set_z.c
index b3bbe1013..0367a8669 100644
--- a/set_z.c
+++ b/set_z.c
@@ -20,9 +20,9 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
/* set f to the integer z */
int
diff --git a/sub_ui.c b/sub_ui.c
index 194d99985..85e3039e0 100644
--- a/sub_ui.c
+++ b/sub_ui.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
#define MON_INIT(xp, x, p, s) xp = (mp_ptr) TMP_ALLOC(s*BYTES_PER_MP_LIMB); x -> _mp_prec = p; x -> _mp_d = xp; x -> _mp_size = s;
diff --git a/ui_div.c b/ui_div.c
index 14ccfbd9f..d97d59938 100644
--- a/ui_div.c
+++ b/ui_div.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
#define MON_INIT(xp, x, p, s) xp = (mp_ptr) TMP_ALLOC(s*BYTES_PER_MP_LIMB); x -> _mp_prec = p; x -> _mp_d = xp; x -> _mp_size = s;
diff --git a/ui_sub.c b/ui_sub.c
index 75fb66027..8e1f84116 100644
--- a/ui_sub.c
+++ b/ui_sub.c
@@ -21,9 +21,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
#define MON_INIT(xp, x, p, s) xp = (mp_ptr) TMP_ALLOC(s*BYTES_PER_MP_LIMB); x -> _mp_prec = p; x -> _mp_d = xp; x -> _mp_size = s;
diff --git a/urandomb.c b/urandomb.c
index e324b4905..26338dfc3 100644
--- a/urandomb.c
+++ b/urandomb.c
@@ -24,9 +24,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
void
#if __STDC__
diff --git a/zeta.c b/zeta.c
index 360f33d68..2cfb3a93e 100644
--- a/zeta.c
+++ b/zeta.c
@@ -22,9 +22,9 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include <math.h>
#include "gmp.h"
-#include "longlong.h"
#include "mpfr.h"
#include "gmp-impl.h"
+#include "longlong.h"
int
#if __STDC__