MTGP32_STATUS_FAST_T Struct Reference

MTGP32 internal state array. More...

#include <mtgp32-fast.h>


Data Fields

int idx
 index
int size
 minimum needed size
int large_size
 real size of array
int large_mask
 bit mask to update idx
uint32_t array []
 internal state array


Detailed Description

MTGP32 internal state array.

MTGP32 interface structure.

In this structure, we use larger_size and larger_mask to avoid slow operation of remainder (%).

size is the minimum needed size to represent linear space of two element filed as 32-bit array.

large_size is a minimum power of 2 which is larger than size. array has this size.

large_mask is a bit mask to update idx in a fast way. idx is updated by `logical and' & with large_mask.


Field Documentation


The documentation for this struct was generated from the following file:

Generated on Tue Nov 17 10:52:12 2009 for MTGP by  doxygen 1.5.9