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

shl and shr completed #32

Merged
merged 2 commits into from Oct 17, 2019

Conversation

@VoR0220
Copy link
Collaborator

VoR0220 commented Oct 17, 2019

Signed-off-by: VoR0220 catalanor0220@gmail.com

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
src/ops.rs Outdated
let destination = vm.get_arg(pipeline.args[0].location)?.u16_exact()?;
let count = vm.get_arg(pipeline.args[1].location)?.u16_sx()?;
let result= (destination as u32) << count;
let computation_result = (destination as u32) << count;

This comment has been minimized.

Copy link
@Earlz

Earlz Oct 17, 2019

Collaborator

This is redundant here

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
@VoR0220 VoR0220 merged commit e5ac283 into qtumproject:master Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.