MCPcopy Create free account
hub / github.com/Niko1221/Strata / uni

Method uni

engine/tests/quant/quant_parity.cpp:67–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 return (uint32_t) ((s * 0x2545F4914F6CDD1Dull) >> 32);
66 }
67 float uni() { return (float) next() / 4294967296.0f * 2.f - 1.f; }
68 // every draw in its own statement: the operands of one expression have no evaluation order in C++, and GCC and MSVC pick different ones
69 float gauss() {
70 const float a = uni();

Callers 1

test_boundaryFunction · 0.45

Calls 1

nextFunction · 0.50

Tested by

no test coverage detected