Crates.io | vertical-multiplication |
lib.rs | vertical-multiplication |
version | 0.1.0 |
source | src |
created_at | 2023-03-13 06:19:47.616895 |
updated_at | 2023-03-13 06:34:49.065218 |
description | Vertical multiplication step by step. |
homepage | |
repository | https://github.com/oovm/digit-invariant |
max_upload_size | |
id | 808611 |
size | 8,033 |
BigInt::from(12), &BigInt::from(345), 10)
12
× 345
--------
= 60
+ 48.
+ 36..
--------
= 4140
BigInt::from(12), &BigInt::from(345), 16)
c
× 159
-------
= 6c
+ 3c.
+ c..
-------
= 102c
BigInt::from(12), &BigInt::from(345), 2)
1100
× 101011001
----------------
= 1100
+ 0.
+ 0..
+ 1100...
+ 1100....
+ 0.....
+ 1100......
+ 0.......
+ 1100........
----------------
= 1000000101100