Skip to content

incorrect constant in pcg_output_xsh_rr_128_64? #7

@simonbyrne

Description

@simonbyrne

Is the shift of 29 here:
https://github.com/imneme/pcg-c/blob/e2383c4bfcc862b40c3d85a43c9d495ff61186cb/include/pcg_variants.h#L166
correct?

From what I can tell from the paper, it should be floor((6+64)/2) = 35?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions