MCPcopy Create free account
hub / github.com/BitVM/BitVM / u4_push_modulo_table_stack

Function u4_push_modulo_table_stack

bitvm/src/u4/u4_add_stack.rs:12–14  ·  view source on GitHub ↗

Puts the table of the inner function to stack library

(stack: &mut StackTracker)

Source from the content-addressed store, hash-verified

10
11/// Puts the table of the inner function to stack library
12pub fn u4_push_modulo_table_stack(stack: &mut StackTracker) -> StackVariable {
13 stack.var(80, u4_push_modulo_table_5(), "modulo_table")
14}
15
16/// Pushes the table for calculating the modulo, i.e. x % 16 for x < 48. i.e. 15 (max u4) * 3 (max # numbers to sum) + 2 (max carry)
17pub fn u4_push_modulo_for_blake(stack: &mut StackTracker) -> StackVariable {

Callers 2

test_add_internal_stackFunction · 0.85
sha256_stackFunction · 0.85

Calls 1

u4_push_modulo_table_5Function · 0.85

Tested by 1

test_add_internal_stackFunction · 0.68