Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ mul
Function
mul
crates/virtual-machine/src/cpu/alu.rs:127–129 ·
view source on GitHub ↗
(a: u64, b: u64)
Source
from the content-addressed store, hash-verified
125
/// Lower 64 bits of a*b (both interpreted as two's-complement 64-bit).
126
#[inline]
127
pub fn mul(a: u64, b: u64) -> u64 {
128
a.wrapping_mul(b)
129
}
130
131
/// Upper 64 bits of signed*signed product.
132
#[inline]
Callers
1
exec_alu
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected