Antkeeper
0.0.1
|
Hash functions. More...
Classes | |
struct | make_uint |
Provides an unsigned integer type of equivalent size to type T . More... | |
struct | make_uint< float > |
Provides an unsigned integer type of equivalent size to float . More... | |
struct | make_uint< double > |
Provides an unsigned integer type of equivalent size to double . More... | |
Typedefs | |
template<class T > | |
using | make_uint_t = typename make_uint< T >::type |
Helper type for make_uint. More... | |
Functions | |
constexpr std::uint8_t | pcg (std::uint8_t x) noexcept |
PCG hash function. More... | |
constexpr std::uint16_t | pcg (std::uint16_t x) noexcept |
PCG hash function. More... | |
constexpr std::uint32_t | pcg (std::uint32_t x) noexcept |
PCG hash function. More... | |
constexpr std::uint64_t | pcg (std::uint64_t x) noexcept |
PCG hash function. More... | |
constexpr std::uint8_t | pcg (std::int8_t x) noexcept |
PCG hash function. More... | |
constexpr std::uint16_t | pcg (std::int16_t x) noexcept |
PCG hash function. More... | |
constexpr std::uint32_t | pcg (std::int32_t x) noexcept |
PCG hash function. More... | |
constexpr std::uint64_t | pcg (std::int64_t x) noexcept |
PCG hash function. More... | |
constexpr std::uint32_t | pcg (float x) noexcept |
PCG hash function. More... | |
constexpr std::uint64_t | pcg (double x) noexcept |
PCG hash function. More... | |
template<class T , std::size_t N> | |
constexpr vector< make_uint_t< T >, N > | pcg (const vector< T, N > &x) noexcept |
PCG hash function. More... | |
Hash functions.
using math::hash::make_uint_t = typedef typename make_uint<T>::type |
Helper type for make_uint.
Definition at line 63 of file make-uint.hpp.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.
|
inlineconstexprnoexcept |
PCG hash function.
x | Input value. |
static_cast
.