32 #ifndef VSMC_RNGC_U01_H 33 #define VSMC_RNGC_U01_H 38 #define VSMC_RNGC_U01_31F (1.0f / 2147483648.0f) 39 #define VSMC_RNGC_U01_24F (1.0f / 16777216.0f) 40 #define VSMC_RNGC_U01_23F (1.0f / 8388608.0f) 41 #define VSMC_RNGC_U01_33D (1.0 / 8589934592.0) 42 #define VSMC_RNGC_U01_32D (1.0 / 4294967296.0) 43 #define VSMC_RNGC_U01_63D (1.0 / 9223372036854775808.0) 44 #define VSMC_RNGC_U01_53D (1.0 / 9007199254740992.0) 45 #define VSMC_RNGC_U01_52D (1.0 / 4503599627370496.0) 86 #if VSMC_HAS_RNGC_DOUBLE 193 #endif // VSMC_HAS_RNGC_DOUBLE 195 #endif // VSMC_RNGC_U01_H static const float VSMC_RNGC_U01_31F
static double vsmc_u01_open_closed_u64_f64(uint64_t u)
Converting 64-bits unsigned to double precision uniform .
static double vsmc_u01_closed_open_u64_f64(uint64_t u)
Converting 64-bits unsigned to double precision uniform .
static float vsmc_u01_closed_closed_u64_f32(uint64_t u)
Converting 64-bits unsigned to single precision uniform .
static const double VSMC_RNGC_U01_52D
static float vsmc_u01_open_closed_u64_f32(uint64_t u)
Converting 64-bits unsigned to single precision uniform .
static const double VSMC_RNGC_U01_53D
static float vsmc_u01_open_open_u64_f32(uint64_t u)
Converting 64-bits unsigned to single precision uniform .
static const float VSMC_RNGC_U01_23F
static const double VSMC_RNGC_U01_32D
static const double VSMC_RNGC_U01_33D
static const float VSMC_RNGC_U01_24F
static double vsmc_u01_open_open_u32_f64(uint32_t u)
Converting 32-bits unsigned to double precision uniform .
static const double VSMC_RNGC_U01_63D
static double vsmc_u01_open_open_u64_f64(uint64_t u)
Converting 64-bits unsigned to double precision uniform .
static float vsmc_u01_closed_open_u32_f32(uint32_t u)
Converting 32-bits unsigned to single precision uniform .
static float vsmc_u01_closed_open_u64_f32(uint64_t u)
Converting 64-bits unsigned to single precision uniform .
static float vsmc_u01_open_closed_u32_f32(uint32_t u)
Converting 32-bits unsigned to single precision uniform .
#define VSMC_STATIC_INLINE
static double vsmc_u01_closed_closed_u32_f64(uint32_t u)
Converting 32-bits unsigned to double precision uniform .
static float vsmc_u01_open_open_u32_f32(uint32_t u)
Converting 32-bits unsigned to single precision uniform .
static double vsmc_u01_closed_open_u32_f64(uint32_t u)
Converting 32-bits unsigned to double precision uniform .
static double vsmc_u01_closed_closed_u64_f64(uint64_t u)
Converting 64-bits unsigned to double precision uniform .
static double vsmc_u01_open_closed_u32_f64(uint32_t u)
Converting 32-bits unsigned to double precision uniform .
static float vsmc_u01_closed_closed_u32_f32(uint32_t u)
Converting 32-bits unsigned to single precision uniform .