Re:Modern C++ Won't Save Us
by sorenjan on Tuesday April 23, 2019 @08:29AM
(#19727897)
What's the modern C++ equivalent to C's
or Python's
Easy to use and often good enough.
[ Parent
| on HN ]
> (rand() % (b - a)) + a;
This is no longer uniform, because it introduces a bias towards small numbers.