Jump to content

Long multiplication: Difference between revisions

m
no edit summary
(add Ruby)
mNo edit summary
Line 1:
{{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.
 
[[Category:Arbitrary precision]] [[Category:Arithmetic operations]]
 
For output, display the result of 2^64 * 2^64. The decimal representation of 2^64 is:
Line 741 ⟶ 743:
340282366920938463463374607431768211456
340282366920938463463374607431768211456</pre>
 
[[Category:Arbitrary precision]] [[Category:Arithmetic operations]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.