[BACK]Return to urandomm.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / mpz

Diff for /OpenXM_contrib/gmp/mpz/Attic/urandomm.c between version 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2000/12/01 05:45:13 version 1.1.1.3, 2003/08/25 16:06:34
Line 2 
Line 2 
    integer in the range 0 to N-1, using STATE as the random state     integer in the range 0 to N-1, using STATE as the random state
    previously initialized by a call to gmp_randinit().     previously initialized by a call to gmp_randinit().
   
 Copyright (C) 2000  Free Software Foundation, Inc.  Copyright 2000  Free Software Foundation, Inc.
   
 This file is part of the GNU MP Library.  This file is part of the GNU MP Library.
   
Line 26  MA 02111-1307, USA. */
Line 26  MA 02111-1307, USA. */
 #include "longlong.h"  #include "longlong.h"
   
 void  void
 #if __STDC__  mpz_urandomm (mpz_ptr rop, gmp_randstate_t rstate, mpz_srcptr n)
 mpz_urandomm (mpz_t rop, gmp_randstate_t rstate, mpz_t n)  
 #else  
 mpz_urandomm (rop, rstate, n)  
      mpz_t rop;  
      gmp_randstate_t rstate;  
      mpz_t n;  
 #endif  
 {  {
   mpz_t t, p, m;    mpz_t t, p, m;
   mp_ptr tp;    mp_ptr tp;

Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>