[OT] Generating distribution of N dice rolls

Abdulhaq alynch4048 at gmail.com
Fri Nov 11 15:16:02 UTC 2022


On Friday, 11 November 2022 at 13:27:45 UTC, H. S. Teoh wrote:
> On Fri, Nov 11, 2022 at 10:52:47AM +0000, Siarhei Siamashka via 
> Digitalmars-d wrote:

>
> Relax, this isn't for generating fake data. :-D  It's for a 
> simulation, and actually my use case mainly involves small 
> values of N. So technically I don't need to optimize it to this 
> extent; it's just a nice-to-have and a fun exercise to make it 
> resistant to performance degradation by unusually large inputs.
>
>
> T

I guess it simulates the simulator.


More information about the Digitalmars-d mailing list