Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LPC4/Full-Stack
/ slt
Function
slt
crates/virtual-machine/src/cpu/alu.rs:88–90 ·
view source on GitHub ↗
(a: u64, b: u64)
Source
from the content-addressed store, hash-verified
86
}
87
#[inline]
88
pub fn slt(a: u64, b: u64) -> u64 {
89
((a as i64) < (b as i64)) as u64
90
}
91
#[inline]
92
pub fn sltu(a: u64, b: u64) -> u64 {
93
(a < b) 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