mini-llvm 0.1.0
Loading...
Searching...
No Matches
mini_llvm::PCG32 Class Reference

#include <PCG32.h>

Public Types

using result_type = uint32_t

Public Member Functions

 PCG32 (uint64_t seed, uint64_t seq=UINT64_C(0)) noexcept
uint32_t operator() () noexcept

Static Public Member Functions

static constexpr uint32_t min () noexcept
static constexpr uint32_t max () noexcept

Member Typedef Documentation

◆ result_type

Constructor & Destructor Documentation

◆ PCG32()

mini_llvm::PCG32::PCG32 ( uint64_t seed,
uint64_t seq = UINT64_C(0) )
inlineexplicitnoexcept

Member Function Documentation

◆ max()

constexpr uint32_t mini_llvm::PCG32::max ( )
inlinestaticconstexprnoexcept

◆ min()

constexpr uint32_t mini_llvm::PCG32::min ( )
inlinestaticconstexprnoexcept

◆ operator()()

uint32_t mini_llvm::PCG32::operator() ( )
inlinenoexcept

The documentation for this class was generated from the following file: