lemon/bits/mingw32_rand.h
changeset 2035 e92071fadd3f
equal deleted inserted replaced
-1:000000000000 0:284c8733f94d
       
     1 /* -*- C++ -*-
       
     2  *
       
     3  * This file is a part of LEMON, a generic C++ optimization library
       
     4  *
       
     5  * Copyright (C) 2003-2006
       
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
       
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
       
     8  *
       
     9  * Permission to use, modify and distribute this software is granted
       
    10  * provided that this copyright notice appears in all copies. For
       
    11  * precise terms see the accompanying LICENSE file.
       
    12  *
       
    13  * This software is provided "AS IS" with no warranty of any kind,
       
    14  * express or implied, and with no claim as to its suitability for any
       
    15  * purpose.
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef LEMON_BITS_MINGW32_RAND_H
       
    20 #define LEMON_BITS_MINGW32_RAND_H
       
    21 
       
    22 
       
    23 #ifdef WIN32
       
    24 
       
    25 double drand48(void);
       
    26 double erand48(unsigned short xsubi[3]);
       
    27 long int lrand48(void);
       
    28 long int nrand48(unsigned short xsubi[3]);
       
    29 long int mrand48(void);
       
    30 long int jrand48(unsigned short xsubi[3]);
       
    31 void srand48(long int seedval);
       
    32 unsigned short *seed48(unsigned short seed16v[3]);
       
    33 void lcong48(unsigned short param[7]);
       
    34 
       
    35 #endif
       
    36 
       
    37 #endif