We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
maj()
Last but not least, we have the maj() function which, essentially, picks out the majority of the bits from x, y, and z. It is implemented like so:
x
y
z
fn maj(x: u32, y: u32, z: u32) -> u32 { (x & y) ^ (x & z) ^ (y & z) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Last but not least, we have the
maj()
function which, essentially, picks out the majority of the bits fromx
,y
, andz
. It is implemented like so:The text was updated successfully, but these errors were encountered: