You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/05/19 08:16:24 UTC
[commons-rng] 02/02: Changes typo
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit e6c3aa5562956a87fbdc9f81f4a4b158afc1ee0c
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu May 19 09:15:59 2022 +0100
Changes typo
---
src/changes/changes.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 5dd54eeb..3ac0fbb3 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -131,10 +131,10 @@ will be recorded in the release notes.
"RandomSource.create": Update array seed conversion to use optimum seed length.
Avoid duplication of input bytes and conversion of bytes that will be discarded.
This introduces a behavioural change for int[], long[], and int seed conversions.
- Any fixed seeds from previous versions in byte[], long or the native seed type
+ Any fixed seeds used in previous versions in byte[], long or the native seed type
will create the same RNG state. All array-to-array seed conversions now use little
endian format, matching the byte[] conversion behaviour since 1.0. All seed
- conversions that expand the seed size using the same generation method to provide
+ conversions that expand the seed size use the same generation method to provide
additional bytes. Conversion of int[] to long avoids loss of bits
changing the possible output seeds from 2^32 to 2^64.
</action>