Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ srl
Function
srl
crates/virtual-machine/src/cpu/alu.rs:68–70 ·
view source on GitHub ↗
(a: u64, b: u64)
Source
from the content-addressed store, hash-verified
66
}
67
#[inline]
68
pub fn srl(a: u64, b: u64) -> u64 {
69
a >> (b & 63)
70
}
71
#[inline]
72
pub fn sra(a: u64, b: u64) -> u64 {
73
((a as i64) >> (b & 63)) as u64
Callers
2
exec_alu_imm
Function · 0.85
exec_alu
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected