Crate vertical_multiplication
source ·Expand description
Vertical Multiplication Steps
Decimal Multiplication
BigInt::from(12), &BigInt::from(345), 10)
12
× 345
--------
= 60
+ 48.
+ 36..
--------
= 4140
Hexadecimal Multiplication
BigInt::from(12), &BigInt::from(345), 16)
c
× 159
-------
= 6c
+ 3c.
+ c..
-------
= 102c
Binary Multiplication
BigInt::from(12), &BigInt::from(345), 2)
1100
× 101011001
----------------
= 1100
+ 0.
+ 0..
+ 1100...
+ 1100....
+ 0.....
+ 1100......
+ 0.......
+ 1100........
----------------
= 1000000101100
Structs
- Get digits of a number in reverse order
- Get digits of a number in reverse order
Functions
- Vertical multiplication
- Vertical multiplication in details