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 – 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