chaos.h File Reference

#include "object_base.h"
#include "portable.h"
#include <stdlib.h>
#include <time.h>

Include dependency graph for chaos.h:

Go to the source code of this file.

Classes

class  chaos
 a platform-independent way to acquire random numbers in a specific range. More...

Defines

#define GET_32_BIT_RAND_YO


Define Documentation

#define GET_32_BIT_RAND_YO

Value:

u_int ranval = (u_int(rand()) << 16) + (u_int(rand()) << 1) \
       + (u_int(rand()) % 2)

Definition at line 36 of file chaos.h.

Referenced by chaos::exclusive(), and chaos::inclusive().


Generated on Mon Jul 26 04:22:49 2010 for HOOPLE Libraries by  doxygen 1.5.6