vSMC
vSMC: Scalable Monte Carlo
Functions | Variables
u01.h File Reference
#include <vsmc/internal/config.h>

Go to the source code of this file.

Functions

static float vsmc_u01_closed_closed_u32_f32 (uint32_t u)
 Converting 32-bits unsigned to single precision uniform \([0,1]\). More...
 
static double vsmc_u01_closed_closed_u32_f64 (uint32_t u)
 Converting 32-bits unsigned to double precision uniform \([0,1]\). More...
 
static float vsmc_u01_closed_closed_u64_f32 (uint64_t u)
 Converting 64-bits unsigned to single precision uniform \([0,1]\). More...
 
static double vsmc_u01_closed_closed_u64_f64 (uint64_t u)
 Converting 64-bits unsigned to double precision uniform \([0,1]\). More...
 
static float vsmc_u01_closed_open_u32_f32 (uint32_t u)
 Converting 32-bits unsigned to single precision uniform \([0,1)\). More...
 
static double vsmc_u01_closed_open_u32_f64 (uint32_t u)
 Converting 32-bits unsigned to double precision uniform \([0,1)\). More...
 
static float vsmc_u01_closed_open_u64_f32 (uint64_t u)
 Converting 64-bits unsigned to single precision uniform \([0,1)\). More...
 
static double vsmc_u01_closed_open_u64_f64 (uint64_t u)
 Converting 64-bits unsigned to double precision uniform \([0,1)\). More...
 
static float vsmc_u01_open_closed_u32_f32 (uint32_t u)
 Converting 32-bits unsigned to single precision uniform \((0,1]\). More...
 
static double vsmc_u01_open_closed_u32_f64 (uint32_t u)
 Converting 32-bits unsigned to double precision uniform \((0,1]\). More...
 
static float vsmc_u01_open_closed_u64_f32 (uint64_t u)
 Converting 64-bits unsigned to single precision uniform \((0,1]\). More...
 
static double vsmc_u01_open_closed_u64_f64 (uint64_t u)
 Converting 64-bits unsigned to double precision uniform \((0,1]\). More...
 
static float vsmc_u01_open_open_u32_f32 (uint32_t u)
 Converting 32-bits unsigned to single precision uniform \((0,1)\). More...
 
static double vsmc_u01_open_open_u32_f64 (uint32_t u)
 Converting 32-bits unsigned to double precision uniform \((0,1)\). More...
 
static float vsmc_u01_open_open_u64_f32 (uint64_t u)
 Converting 64-bits unsigned to single precision uniform \((0,1)\). More...
 
static double vsmc_u01_open_open_u64_f64 (uint64_t u)
 Converting 64-bits unsigned to double precision uniform \((0,1)\). More...
 

Variables

static const float VSMC_RNGC_U01_23F = 1.0f / 8388608.0f
 
static const float VSMC_RNGC_U01_24F = 1.0f / 16777216.0f
 
static const float VSMC_RNGC_U01_31F = 1.0f / 2147483648.0f
 
static const double VSMC_RNGC_U01_32D = 1.0 / 4294967296.0
 
static const double VSMC_RNGC_U01_33D = 1.0 / 8589934592.0
 
static const double VSMC_RNGC_U01_52D = 1.0 / 4503599627370496.0
 
static const double VSMC_RNGC_U01_53D = 1.0 / 9007199254740992.0
 
static const double VSMC_RNGC_U01_63D = 1.0 / 9223372036854775808.0
 

Variable Documentation

const float VSMC_RNGC_U01_23F = 1.0f / 8388608.0f
static

Definition at line 49 of file u01.h.

const float VSMC_RNGC_U01_24F = 1.0f / 16777216.0f
static

Definition at line 48 of file u01.h.

const float VSMC_RNGC_U01_31F = 1.0f / 2147483648.0f
static

Definition at line 47 of file u01.h.

const double VSMC_RNGC_U01_32D = 1.0 / 4294967296.0
static

Definition at line 51 of file u01.h.

const double VSMC_RNGC_U01_33D = 1.0 / 8589934592.0
static

Definition at line 50 of file u01.h.

const double VSMC_RNGC_U01_52D = 1.0 / 4503599627370496.0
static

Definition at line 54 of file u01.h.

const double VSMC_RNGC_U01_53D = 1.0 / 9007199254740992.0
static

Definition at line 53 of file u01.h.

const double VSMC_RNGC_U01_63D = 1.0 / 9223372036854775808.0
static

Definition at line 52 of file u01.h.