mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-07 02:58:02 +00:00
Integrate Move compiler facts across indexing, persistence, and MCP queries while keeping shared ingestion language-agnostic and incremental updates safe. Co-authored-by: GotenJBZ <marco@freemaker.it>
9 lines
229 B
Text
9 lines
229 B
Text
module aptos_std::consumer {
|
|
use aptos_std::math64;
|
|
|
|
public fun compound(a: u64, b: u64, c: u64): u64 {
|
|
let top = math64::max(a, b);
|
|
let bot = math64::min(a, b);
|
|
math64::clamp(c, bot, top)
|
|
}
|
|
}
|