pcg-cpp icon indicating copy to clipboard operation
pcg-cpp copied to clipboard

PCG — C++ Implementation

Results 46 pcg-cpp issues
Sort by recently updated
recently updated
newest added

I noticed this typo while trying to better understand the extension method. Seems like a pretty simple fix.

There is no `pcg128_t | int` defined if `__uint128_t` is not available. c.f. https://github.com/daqana/dqrng/issues/88

When I seed and set the stream separately I get a different result than if I do that with a single call. Is that expected? Example code: ```cpp #include #include...

using pcg64 stream operator make compilation fail with visual studio 2022 (pcg32 is ok though): ``` D:\a\pcg-cpp\pcg-cpp\include\pcg_random.hpp(336,31): error C2678: binary '|': no operator found which takes a left-hand operand of...

With `pcg32` and `pcg64`, the streams you select are ___discarded___ when you call either `seed()` or `seed(itype)`. When the `stream_mixin` is `specific_stream`, functions `seed()` and `seed(itype)` have the—perhaps unintended—side effect...

While debugging a build failure in https://github.com/daqana/dqrng/issues/88 together with @barracuda156 we found some issues with using PCG on MacOS for PowerPC: Consider ```cpp #include #include "pcg_random.hpp" int main(void) { pcg64...