pub fn quotient_and_remainder(a: i64, b: i64) -> Result<(i64, i64)>
Computes both quotient and remainder for integer division. Faithfully models legacy Visual Basic modulo formatting logic.