Uploaded image for project: 'Commons RNG'
  1. Commons RNG
  2. RNG-82

XorShift1024StarPhi generator

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 1.3
    • 1.3
    • core, simple
    • None

    Description

      The authors of the algorithm implemented in org.apache.commons.rng.core.source64.XorShift1024Star have produced a new variant using a different multiplier. The source code is described here:

      xorshift1024star.c

      For clarity the code states:

         NOTE: as of 2017-10-08, this generator has a different multiplier (a
         fixed-point representation of the golden ratio), which eliminates
         linear dependencies from one of the lowest bits. The previous
         multiplier was 1181783497276652981 (M_8 in the paper). If you need to
         tell apart the two generators, you can refer to this generator as
         xorshift1024φ and to the previous one as xorshift1024*M_8.
      

      This can be added as a variant of the current implementation:

      class = XorShift1024StarPhi
      RandomSource = XOR_SHIFT_1024_S_PHI

      Attachments

        Issue Links

          Activity

            People

              aherbert Alex Herbert
              aherbert Alex Herbert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m