Pushes the table for calculating the modulo, i.e. x % 16 for x < 80. i.e. 15 (max u4) * 5 (max # numbers to sum) + 4 (max carry)
()
| 48 | |
| 49 | /// Pushes the table for calculating the modulo, i.e. x % 16 for x < 80. i.e. 15 (max u4) * 5 (max # numbers to sum) + 4 (max carry) |
| 50 | pub fn u4_push_modulo_table_5() -> Script { |
| 51 | script! { |
| 52 | for i in (0..80).rev() { |
| 53 | { i % 16 } |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | /// Drops the modulo table |
| 59 | pub fn u4_drop_modulo_table() -> Script { |
no outgoing calls
no test coverage detected