patch_seq_modulo

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 – result success )

Returns the remainder and a Bool success flag. On division by zero, returns (0, false). On success, returns (a%b, true).

§Safety

Stack must have at least two values on top