fn multiply_ints(n1: i32, n2: i32) -> Value {
    match n1.checked_mul(n2) {
        Some(n3) => {
            Value::Int(n3)
        }
        None => {
            let n1_bigint = BigInt::from_i32(n1).unwrap();
            Value::BigInt(n1_bigint * n2)
        }
    }
}
/// Multiply two integers together and return the result value.
/// Promote to bigint if the value cannot be stored in an i32.
Multiply two integers together and return the result value.
Promote to bigint if the value cannot be stored in an i32.
Multiply two integers together and return the result value . Promote to bigint if the value cannot be stored in an i32 .
fn multiply_ints(n1: i32, n2: i32) -> Value {
    match n1.checked_mul(n2) {
        Some(n3) => {
            Value::Int(n3)
        }
        None => {
            let n1_bigint = BigInt::from_i32(n1).unwrap();
            Value::BigInt(n1_bigint * n2)
        }
    }
}
fn multiply_ints ( n1 : i32 , n2 : i32 ) -> Value { match n1 . checked_mul ( n2 ) { Some ( n3 ) => { Value :: Int ( n3 ) } None => { let n1_bigint = BigInt :: from_i32 ( n1 ) . unwrap ( ) ; Value :: BigInt ( n1_bigint * n2 ) } } }
Multiply two integers together and return the result value.
Multiply two integers together and return the result value .
n1
i32
n2
i32