diff options
-rw-r--r-- | add_ui.c | 2 | ||||
-rw-r--r-- | cmp.c | 2 | ||||
-rw-r--r-- | cmp_ui.c | 2 | ||||
-rw-r--r-- | div.c | 2 | ||||
-rw-r--r-- | get_str.c | 2 | ||||
-rw-r--r-- | log2.c | 2 | ||||
-rw-r--r-- | mpz_set_fr.c | 2 | ||||
-rw-r--r-- | mul_ui.c | 2 | ||||
-rw-r--r-- | pi.c | 2 | ||||
-rw-r--r-- | random.c | 2 | ||||
-rw-r--r-- | random2.c | 2 | ||||
-rw-r--r-- | set_d.c | 3 | ||||
-rw-r--r-- | set_f.c | 2 | ||||
-rw-r--r-- | set_q.c | 2 | ||||
-rw-r--r-- | set_si.c | 2 | ||||
-rw-r--r-- | set_str.c | 2 | ||||
-rw-r--r-- | set_str_raw.c | 2 | ||||
-rw-r--r-- | set_z.c | 2 | ||||
-rw-r--r-- | sub_ui.c | 2 | ||||
-rw-r--r-- | ui_div.c | 2 | ||||
-rw-r--r-- | ui_sub.c | 2 | ||||
-rw-r--r-- | urandomb.c | 2 | ||||
-rw-r--r-- | zeta.c | 2 |
23 files changed, 24 insertions, 23 deletions
@@ -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; @@ -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 @@ -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, @@ -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 */ @@ -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 @@ -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 */ @@ -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__ @@ -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 @@ -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 */ @@ -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) @@ -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.) @@ -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__ @@ -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 @@ -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__ @@ -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 @@ -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 @@ -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; @@ -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; @@ -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__ @@ -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__ |