Menu

Is it suitable to test 24-bit PRNGs with stdin32?

palxex
2024-09-08
2024-09-08
  • palxex

    palxex - 2024-09-08

    Or could you please add stdin24?

     
  • - 2024-09-08

    PractRand targets normal integer sizes - 8, 16, 32, 64, and unknown. For a 24 bit source I would recommend either 8 (stdin8 / As8) or unknown (stdin / AsUnknown).

    Or better running tests twice, once on the lowest 16 bits and then again the highest 16 bits. Eventually the command line will get powerful enough to allow you to specify that, but it's not there yet, so currently you'll have use your own code to drop 8 bits out of every 24.

     

Log in to post a comment.