Make Rand state public
@@ -17,10 +17,11 @@ public class Rand extends Random{
private static final double NORM_DOUBLE = 1.0 / (1L << 53);
/** Normalization constant for float. */
private static final double NORM_FLOAT = 1.0 / (1L << 24);
+
/** The first half of the internal state of this pseudo-random number generator. */
- private long seed0;
+ public long seed0;
/** The second half of the internal state of this pseudo-random number generator. */
- private long seed1;
+ public long seed1;
/**
* Creates a new random number generator. This constructor sets the seed of the random number generator to a value very likely
