Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ sllw
Function
sllw
crates/virtual-machine/src/cpu/alu.rs:109–111 ·
view source on GitHub ↗
(a: u64, b: u64)
Source
from the content-addressed store, hash-verified
107
108
#[inline]
109
pub fn sllw(a: u64, b: u64) -> u64 {
110
((a as u32) << (b & 31)) as i32 as i64 as u64
111
}
112
113
#[inline]
114
pub fn srlw(a: u64, b: u64) -> u64 {
Callers
2
exec_alu_imm32
Function · 0.85
exec_alu32
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected