Public Types | Static Public Member Functions | Static Public Attributes | List of all members
absl::random_internal::wide_multiply< UIntType > Struct Template Reference

#include <wide_multiply.h>

Public Types

using input_type = UIntType
 
using input_type = UIntType
 
using result_type = typename random_internal::unsigned_bits< kN *2 >::type
 
using result_type = typename random_internal::unsigned_bits< kN *2 >::type
 

Static Public Member Functions

static input_type hi (result_type r)
 
static input_type hi (result_type r)
 
static input_type lo (result_type r)
 
static input_type lo (result_type r)
 
static result_type multiply (input_type a, input_type b)
 
static result_type multiply (input_type a, input_type b)
 

Static Public Attributes

static constexpr size_t kN = std::numeric_limits<UIntType>::digits
 

Detailed Description

template<typename UIntType>
struct absl::random_internal::wide_multiply< UIntType >

Definition at line 39 of file abseil-cpp/absl/random/internal/wide_multiply.h.

Member Typedef Documentation

◆ input_type [1/2]

template<typename UIntType >
using absl::random_internal::wide_multiply< UIntType >::input_type = UIntType

◆ input_type [2/2]

template<typename UIntType >
using absl::random_internal::wide_multiply< UIntType >::input_type = UIntType

◆ result_type [1/2]

template<typename UIntType >
using absl::random_internal::wide_multiply< UIntType >::result_type = typename random_internal::unsigned_bits<kN * 2>::type

◆ result_type [2/2]

template<typename UIntType >
using absl::random_internal::wide_multiply< UIntType >::result_type = typename random_internal::unsigned_bits<kN * 2>::type

Member Function Documentation

◆ hi() [1/2]

template<typename UIntType >
static input_type absl::random_internal::wide_multiply< UIntType >::hi ( result_type  r)
inlinestatic

◆ hi() [2/2]

template<typename UIntType >
static input_type absl::random_internal::wide_multiply< UIntType >::hi ( result_type  r)
inlinestatic

◆ lo() [1/2]

template<typename UIntType >
static input_type absl::random_internal::wide_multiply< UIntType >::lo ( result_type  r)
inlinestatic

◆ lo() [2/2]

template<typename UIntType >
static input_type absl::random_internal::wide_multiply< UIntType >::lo ( result_type  r)
inlinestatic

◆ multiply() [1/2]

template<typename UIntType >
static result_type absl::random_internal::wide_multiply< UIntType >::multiply ( input_type  a,
input_type  b 
)
inlinestatic

◆ multiply() [2/2]

template<typename UIntType >
static result_type absl::random_internal::wide_multiply< UIntType >::multiply ( input_type  a,
input_type  b 
)
inlinestatic

Member Data Documentation

◆ kN

template<typename UIntType >
static constexpr size_t absl::random_internal::wide_multiply< UIntType >::kN = std::numeric_limits<UIntType>::digits
staticconstexpr

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:55