OpenQMC API
Loading...
Searching...
No Matches
reverse.h File Reference
#include "gpu.h"
#include <cstdint>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  oqmc
 

Functions

constexpr std::uint32_t oqmc::reverseBits32 (std::uint32_t value)
 Reverse bits of an unsigned 32 bit integer.
 
constexpr std::uint16_t oqmc::reverseBits16 (std::uint16_t value)
 Reverse bits of an unsigned 16 bit integer.
 

Detailed Description

Functions to reverse the order of bits in integer data types. This operation is also known as a radical inversion or a Van der Corput sequence.