RNG-169: Avoid long to int[] that can generate a zero output seed.
authoraherbert <aherbert@apache.org>
Mon, 28 Mar 2022 14:01:15 +0000 (15:01 +0100)
committeraherbert <aherbert@apache.org>
Mon, 28 Mar 2022 14:01:15 +0000 (15:01 +0100)
commit3c4184b981d5eaf72b066aa0784795c41533308f
treeb3e1dd48f5d47fed3b97251956cf08d4a0fbe2f6
parent92a6e97a277c94b0e35156c48fcee39c8c5bf7fd
RNG-169: Avoid long to int[] that can generate a zero output seed.

This is relevant to small state RNGs with an int[] native seed such as
XoRoShiRo64StarStar.
commons-rng-simple/src/main/java/org/apache/commons/rng/simple/internal/Conversions.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ConversionsTest.java