Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSWS seems incorrect #3

Open
TheIronBorn opened this issue Jul 8, 2018 · 1 comment
Open

MSWS seems incorrect #3

TheIronBorn opened this issue Jul 8, 2018 · 1 comment

Comments

@TheIronBorn
Copy link
Contributor

TheIronBorn commented Jul 8, 2018

This lib outputs the full 64-bits while the reference implementation only outputs 32-bits. (It also adds the Weyl sequence after squaring instead of before squaring)

inline static uint32_t msws() {

   x *= x; x += (w += s); return x = (x>>32) | (x<<32);

}
@TheIronBorn
Copy link
Contributor Author

It also sets x to the rotated x rather than merely outputting it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant