Long multiplication: Difference between revisions

Content added Content deleted
Line 4,519: Line 4,519:
5 ok
5 ok
0 not ok</pre>
0 not ok</pre>

=={{header|Ring}}==
{{incorrect|Ring|The task is: "Explicitly implement long multiplication", not "raise 2 to a large power"}}
<lang ring>
# Project : Long multiplication
# Date : 2018/01/26
# Author : Gal Zsolt [~ CalmoSoft ~]
# Email : <calmosoft@gmail.com>

decimals(0)
see pow(2,64) + nl
see pow(2,128) + nl
</lang>
Output:
<pre>
18446744073709551616
340282366920938463463374607431768211456
</pre>


=={{header|Ruby}}==
=={{header|Ruby}}==