vertical-multiplication 0.1.0

Vertical multiplication step by step.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use num::BigInt;

use vertical_multiplication::v_mul;

#[test]
fn ready() {
    println!("it works!")
}

#[test]
fn test() {
    println!("{}", v_mul(&BigInt::from(12), &BigInt::from(345), 2));
    println!("{}", v_mul(&BigInt::from(12), &BigInt::from(345), 10));
    println!("{}", v_mul(&BigInt::from(12), &BigInt::from(345), 16));
}