Skip to content

xoshiro256++ implementation in task.c #42150

@stefan-zobel

Description

@stefan-zobel

uint64_t t = s0 << 17;

Shouldn't this be s1 as in

uint64_t t = s1 << 17; ?

Note: s1, not s0

See Fig. 5 ("C code for a xoshiro256+/xoshiro256++/xoshiro256** generator") on page 6 in the Blackman / Vigna paper : https://arxiv.org/pdf/1805.01407.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    randomnessRandom number generation and the Random stdlib

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions