umontreal-simul / TestU01-2009

This is the 2009 version of TestU01, a software library, implemented in the ANSI C language, and offering a collection of utilities for the empirical statistical testing of uniform random number generators.
Apache License 2.0
64 stars 17 forks source link

TestU01: Avoid overflow of internal static array. #26

Open mbroz opened 8 months ago

mbroz commented 8 months ago

For higher repetition count, statically defined arrays in bbattery wrapper can overflow.

Check that requested arrays does not overflow before running tests (note that some tests produces more pvalues/statistics).