OpenQMC API
Loading...
Searching...
No Matches
float.h File Reference
#include "gpu.h"
#include <cmath>
#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::floatOneOverUintMax = 2.3283064365386962890625e-10f
 0x1p-32
 
constexpr auto oqmc::floatOneMinusEpsilon = 0.999999940395355224609375f
 max flt
 

Detailed Description

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