Antkeeper  0.0.1
Namespaces
pcg.hpp File Reference
#include <engine/math/vector.hpp>
#include <engine/math/hash/make-uint.hpp>
#include <cstdint>
#include <type_traits>

Go to the source code of this file.

Namespaces

 math
 Mathematical functions and data types.
 
 math::hash
 Hash functions.
 

Functions

constexpr std::uint8_t math::hash::pcg (std::uint8_t x) noexcept
 PCG hash function. More...
 
constexpr std::uint16_t math::hash::pcg (std::uint16_t x) noexcept
 PCG hash function. More...
 
constexpr std::uint32_t math::hash::pcg (std::uint32_t x) noexcept
 PCG hash function. More...
 
constexpr std::uint64_t math::hash::pcg (std::uint64_t x) noexcept
 PCG hash function. More...
 
constexpr std::uint8_t math::hash::pcg (std::int8_t x) noexcept
 PCG hash function. More...
 
constexpr std::uint16_t math::hash::pcg (std::int16_t x) noexcept
 PCG hash function. More...
 
constexpr std::uint32_t math::hash::pcg (std::int32_t x) noexcept
 PCG hash function. More...
 
constexpr std::uint64_t math::hash::pcg (std::int64_t x) noexcept
 PCG hash function. More...
 
constexpr std::uint32_t math::hash::pcg (float x) noexcept
 PCG hash function. More...
 
constexpr std::uint64_t math::hash::pcg (double x) noexcept
 PCG hash function. More...
 
template<class T , std::size_t N>
constexpr vector< make_uint_t< T >, N > math::hash::pcg (const vector< T, N > &x) noexcept
 PCG hash function. More...