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.

Functions

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

Variables

constexpr auto oqmc::floatOneOverTwoPower32 = 0x1p-32f
 1 / 2^32
 

Detailed Description

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