|
Fermat
|
A very simple Linear Congruential Generator
#include <random.h>
Public Methods | |
| CUGAR_FORCEINLINE CUGAR_HOST_DEVICE | IRandom (const uint32 s=0) |
| CUGAR_FORCEINLINE CUGAR_HOST_DEVICE uint32 | next () |
Public Members | |
| uint32 | m_s |
Static Public Members | |
| static const uint32 | MAX = 0xFFFFFFFF |
1.8.13