fn subtract_ints(n1: i32, n2: i32) -> Value {
    match n2.checked_sub(n1) {
        Some(n3) => {
            Value::Int(n3)
        }
        None => {
            let n2_bigint = BigInt::from_i32(n2).unwrap();
            Value::BigInt(n2_bigint - n1)
        }
    }
}
/// Subtract one integer from another and return the result value.
/// Promote to bigint if the value cannot be stored in an i32.
Subtract one integer from another and return the result value.
Promote to bigint if the value cannot be stored in an i32.
Subtract one integer from another and return the result value . Promote to bigint if the value cannot be stored in an i32 .
fn subtract_ints(n1: i32, n2: i32) -> Value {
    match n2.checked_sub(n1) {
        Some(n3) => {
            Value::Int(n3)
        }
        None => {
            let n2_bigint = BigInt::from_i32(n2).unwrap();
            Value::BigInt(n2_bigint - n1)
        }
    }
}
fn subtract_ints ( n1 : i32 , n2 : i32 ) -> Value { match n2 . checked_sub ( n1 ) { Some ( n3 ) => { Value :: Int ( n3 ) } None => { let n2_bigint = BigInt :: from_i32 ( n2 ) . unwrap ( ) ; Value :: BigInt ( n2_bigint - n1 ) } } }
Subtract one integer from another and return the result value.
Subtract one integer from another and return the result value .
n1
i32
n2
i32