Long multiplication: Difference between revisions

Content added Content deleted
(Added Wren)
m (→‎{{header|C sharp|C#}}: corrected output)
Line 1,568: Line 1,568:
}</lang>
}</lang>
{{out}}
{{out}}
<pre>The square of (2^64): 18,446,744,073,709,551,616
<pre>The square of (2^64): 18,446,744,073,709,551,616
is 340,282,366,930,938,463,463,374,607,431,768,211,456 (which fails to match the BigIntger computation)
is 340,282,366,920,938,463,463,374,607,431,768,211,456 (which does match the BigIntger computation)


The square of (2^94): 19,807,040,628,566,084,398,385,987,584
The square of (2^94): 19,807,040,628,566,084,398,385,987,584
is 392,318,858,461,667,547,739,736,838,960,479,151,006,397,215,279,002,157,056 (which fails to match the BigIntger computation)</pre>
is 392,318,858,461,667,547,739,736,838,950,479,151,006,397,215,279,002,157,056 (which does match the BigIntger computation)</pre>


=={{header|C++}}==
=={{header|C++}}==