MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / mulhu

Function mulhu

crates/virtual-machine/src/cpu/alu.rs:139–141  ·  view source on GitHub ↗
(a: u64, b: u64)

Source from the content-addressed store, hash-verified

137/// Upper 64 bits of unsigned*unsigned product.
138#[inline]
139pub fn mulhu(a: u64, b: u64) -> u64 {
140 ((a as u128).wrapping_mul(b as u128) >> 64) as u64
141}
142
143/// Upper 64 bits of signed*unsigned product.
144#[inline]

Callers 1

exec_aluFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected