oneapi-src / oneDPL

oneAPI DPC++ Library (oneDPL) https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-library.html
Apache License 2.0
715 stars 112 forks source link

[RNG] Adding operators ==, !=, << and >> for engines and distributions #1636

Open egrabovskaya opened 2 weeks ago

egrabovskaya commented 2 weeks ago

There are the following requirements for operators <<, >> in C++ standard

image

image image

Note: llvm and gcc comply with the same requirements for distributions as for generators

Operator support was added for Bernoulli distribution and linear_congruential engine