summaryrefslogtreecommitdiff
path: root/mpfr-gmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpfr-gmp.c')
-rw-r--r--mpfr-gmp.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/mpfr-gmp.c b/mpfr-gmp.c
index 439a6a194..c4faa7352 100644
--- a/mpfr-gmp.c
+++ b/mpfr-gmp.c
@@ -305,17 +305,6 @@ mpfr_assert_fail (const char *filename, int linenum,
abort();
}
-void
-mpfr_rand_raw (mp_ptr mp, gmp_randstate_t rstate, unsigned long int nbits)
-{
- mpz_t z;
-
- /* To be sure to avoid the potential allocation of mpz_urandomb */
- ALLOC(z) = SIZ(z) = (nbits / GMP_NUMB_BITS) + 1;
- PTR(z) = mp;
- mpz_urandomb(z, rstate, nbits);
-}
-
#ifdef mp_get_memory_functions
/* putting 0 as initial values forces those symbols to be fully defined,