randomgen.h File Reference

#include "memory.h"
Include dependency graph for randomgen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lux::RandomGenerator

Namespaces

namespace  lux
namespace  lux::random

Defines

#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048
#define MASK   0xffffffffUL
#define FLOATMASK   0x00ffffffUL
#define RAN_BUFFER_AMOUNT   2048

Functions

unsigned long lux::random::uintValueP ()
float lux::random::floatValueP ()

Variables

static const float invUI = (1.f / (FLOATMASK + 1UL))
static RandomGenerator * lux::random::PGen

Define Documentation

#define FLOATMASK   0x00ffffffUL

Definition at line 41 of file randomgen.h.

#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define FLOATMASK   0x00ffffffUL
#define MASK   0xffffffffUL

Definition at line 40 of file randomgen.h.

#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define MASK   0xffffffffUL
#define RAN_BUFFER_AMOUNT   2048

Definition at line 43 of file randomgen.h.

#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048
#define RAN_BUFFER_AMOUNT   2048

Variable Documentation

const float invUI = (1.f / (FLOATMASK + 1UL)) [static]

Definition at line 45 of file randomgen.h.

Referenced by lux::RandomGenerator::floatValue().

Generated by  doxygen 1.6.2-20100208