/* SCE CONFIDENTIAL
 * PLAYSTATION(R)3 Programmer Tool Runtime Library 154.001
 * Copyright (C) 2005 Sony Computer Entertainment Inc.
 * All Rights Reserved.
 */

#ifndef _MT19937_GLOBALS_H_
#define _MT19937_GLOBALS_H_

// These are global values and typedefs needed in the MT19937 random number generator
// implementation and in the definitions of it's global state vector

/* Period parameters */  
#define _PERIOD_N 624

struct __MT19937_State_t
{
  // Current batch of MT19937 generated numbers
  unsigned int State[_PERIOD_N]; 
  // Next number in the state vector to be returned to the caller
  int Next_Number;
};

#ifndef __cplusplus
typedef struct __MT19937_State_t __MT19937_State_t;
#endif

#endif
