Function patch_seq_modulo
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_modulo(stack: Stack) -> Stack
Expand description
Modulo (remainder) of two integers (a % b)
Stack effect: ( a b – a%b )
§Error Handling
- Division by zero: Sets runtime error and returns 0
- Type mismatch: Sets runtime error and returns 0
§Safety
Stack must have at least two values on top