#include <vsmc/rng/internal/common.hpp>
#include <immintrin.h>
 
Go to the source code of this file.
 | 
| template<typename UIntType , std::size_t W>  | 
| bool  | vsmc::rdrand (UIntType *, std::integral_constant< std::size_t, W >) | 
|   | Invoke the RDRAND instruction and return the carry flag.  More...
  | 
|   | 
| template<typename UIntType >  | 
| bool  | vsmc::rdrand (UIntType *rand, std::integral_constant< std::size_t, sizeof(std::uint16_t)>) | 
|   | Invoke the 16-bits RDRAND instruction and return the carry flag.  More...
  | 
|   | 
| template<typename UIntType >  | 
| bool  | vsmc::rdrand (UIntType *rand, std::integral_constant< std::size_t, sizeof(std::uint32_t)>) | 
|   | Invoke the 32-bits RDRAND instruction and return the carry flag.  More...
  | 
|   | 
| template<typename UIntType >  | 
| bool  | vsmc::rdrand (UIntType *rand, std::integral_constant< std::size_t, sizeof(std::uint64_t)>) | 
|   | Invoke the 64-bits RDRAND instruction and return the carry flag.  More...
  | 
|   | 
      
        
          | #define VSMC_RDRAND_NTRIAL_MAX   0 | 
        
      
 
 
      
        
          | #define VSMC_RUNTIME_WARNING_RNG_RDRAND_ENGINE_NTRIAL | 
          ( | 
            | 
          ntrial,  | 
        
        
           | 
           | 
            | 
          NTrialMax  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:        "**RDRAND::generate** MAXIMUM NUMBER OF TRIALS EXCEEDED")
#define VSMC_RUNTIME_WARNING(cond, msg)                                                                          
 
 
Definition at line 55 of file rdrand.hpp.
 
 
      
        
          | #define VSMC_STATIC_ASSERT_RNG_RDRAND_ENGINE_RESULT_TYPE | 
          ( | 
            | 
          ResultType | ) | 
           | 
        
      
 
Value:                            std::is_unsigned<ResultType>::value) ||           \
                               std::is_unsigned<ResultType>::value) ||        \
                               std::is_unsigned<ResultType>::value)),         \
        "**RDRANDEngine** USED WITH ResultType OTHER THAN UNSIGNED 16/32/64 " \
        "BITS INTEGER")
#define VSMC_STATIC_ASSERT(cond, msg)
 
 
Definition at line 42 of file rdrand.hpp.