Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
Pcg64DXSM.h File Reference
#include "Math/Random/TUniformRandomBitGenerator.h"
#include "Math/hash.h"
#include "Math/math.h"
#include <Common/primitive_type.h>

Go to the source code of this file.

Classes

class  ph::math::detail::Pcg64UInt128
 
class  ph::math::Pcg64DXSM
 PCG-64 DXSM generator. This is the pcg_engines::cm_setseq_dxsm_128_64 generator in O'Neill's original pcg-cpp implementation. References: [1] https://dotat.at/@/2023-06-21-pcg64-dxsm.html [2] NumPy source code (numpy/numpy/random/src/pcg64/*), version: 308b348bb595bc1b86f9e4bc08be2e3ba5d4f18f. More...
 

Namespaces

namespace  ph
 The root for all renderer implementations.
 
namespace  ph::math
 Math functions and utilities.
 
namespace  ph::math::detail
 

Macros

#define PH_MATH_PCG64_FORCE_EMULATED_UINT128   0
 
#define PH_MATH_PCG64_EMULATED_UINT128   1
 

Macro Definition Documentation

◆ PH_MATH_PCG64_EMULATED_UINT128

#define PH_MATH_PCG64_EMULATED_UINT128   1

◆ PH_MATH_PCG64_FORCE_EMULATED_UINT128

#define PH_MATH_PCG64_FORCE_EMULATED_UINT128   0

Define as 1 to force the use of emulated 128-bit math.