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

Diff for /OpenXM_contrib/gmp/Attic/randsdui.c between version 1.1 and 1.1.1.2

version 1.1, 2000/09/09 14:12:16 version 1.1.1.2, 2003/08/25 16:06:00
Line 1 
Line 1 
 /* gmp_randseed_ui (state, seed) -- Set initial seed SEED in random  /* gmp_randseed_ui (state, seed) -- Set initial seed SEED in random
    state STATE.     state STATE.
   
 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 24  MA 02111-1307, USA. */
Line 24  MA 02111-1307, USA. */
 #include "gmp-impl.h"  #include "gmp-impl.h"
   
 void  void
 #if __STDC__  
 gmp_randseed_ui (gmp_randstate_t rstate,  gmp_randseed_ui (gmp_randstate_t rstate,
                   unsigned long int seed)                   unsigned long int seed)
 #else  
 gmp_randseed_ui (rstate, seed)  
      gmp_randstate_t rstate;  
      mpz_t seed;  
 #endif  
 {  {
   mpz_set_ui (rstate->seed, seed);    mpz_set_ui (rstate->_mp_seed, seed);
 }  }

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

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