Skip to content

multiply-512-v.0.1

Compare
Choose a tag to compare
@koh-gt koh-gt released this 04 Aug 21:48
· 3 commits to main since this release
55e6080
Multiplies two 256-bit Base-10 integers

Supports up to 155 digits of decimal output, 78 digits of decimal input, which is sufficient to input 256-bit binary numbers in base-10.

Not yet tested on inputs larger than 115792089237316195423570985008687907853269984665640564039457584007913129639936.

Maximum output is 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.

Returns the exact integer result.
Uses strings to carry and calculate digit by digit.
Powershell only supports up to uint64, anyways. 
That is a mere 18446744073709551616. 
Base-10 as in Base Ten. 
Otherwise any base would be Base-10 in its own base.