commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex D Herbert (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (RNG-82) XorShift1024StarPhi generator
Date Tue, 09 Apr 2019 15:39:00 GMT

     [ https://issues.apache.org/jira/browse/RNG-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex D Herbert resolved RNG-82.
-------------------------------
    Resolution: Implemented

In master

> XorShift1024StarPhi generator
> -----------------------------
>
>                 Key: RNG-82
>                 URL: https://issues.apache.org/jira/browse/RNG-82
>             Project: Commons RNG
>          Issue Type: New Feature
>          Components: core, simple
>    Affects Versions: 1.3
>            Reporter: Alex D Herbert
>            Assignee: Alex D Herbert
>            Priority: Major
>             Fix For: 1.3
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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|http://xorshift.di.unimi.it/xorshift1024star.c]
> For clarity the code states:
> {noformat}
>    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.
> {noformat}
> This can be added as a variant of the current implementation:
> class = XorShift1024StarPhi
>  RandomSource = XOR_SHIFT_1024_S_PHI



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message