vertical-multiplication 0.1.0

Vertical multiplication step by step.
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 1 items with examples
  • Size
  • Source code size: 8.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 393.06 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • oovm/digit-invariant
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • oovm

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