Long multiplication: Difference between revisions
Content added Content deleted
(add Ruby) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{task|Arbitrary precision}}In this task, explicitly implement [[wp:long multiplication|long multiplication]]. This is one possible approach to arbitrary-precision integer algebra. |
{{task|Arbitrary precision}}{{task|Arithmetic operations}}In this task, explicitly implement [[wp:long multiplication|long multiplication]]. This is one possible approach to arbitrary-precision integer algebra. |
||
⚫ | |||
For output, display the result of 2^64 * 2^64. The decimal representation of 2^64 is: |
For output, display the result of 2^64 * 2^64. The decimal representation of 2^64 is: |
||
Line 741: | Line 743: | ||
340282366920938463463374607431768211456 |
340282366920938463463374607431768211456 |
||
340282366920938463463374607431768211456</pre> |
340282366920938463463374607431768211456</pre> |
||
⚫ |