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

Function add

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

Source from the content-addressed store, hash-verified

54
55#[inline]
56pub fn add(a: u64, b: u64) -> u64 {
57 a.wrapping_add(b)
58}
59#[inline]
60pub fn sub(a: u64, b: u64) -> u64 {
61 a.wrapping_sub(b)

Callers 2

exec_alu_immFunction · 0.50
exec_aluFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected