patch_seq_divide

Function patch_seq_divide 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_divide(stack: Stack) -> Stack
Expand description

Divide two integers (a / b)

Stack effect: ( a b – result success )

Returns the quotient 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