OpenQMC API
Loading...
Searching...
No Matches
float.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

float oqmc::uintToFloat (std::uint32_t value)
 Convert an integer into a [0, 1) float.
 

Variables

constexpr auto oqmc::floatOneOverTwoPower32 = 1.0f / (1ull << 32)
 0x1p-32
 

Detailed Description

Functionality around floating point operations, such as conversion from integer to floating point representation.