Jump to content

Long multiplication: Difference between revisions

Line 4,519:
5 ok
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}}==
2,468

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.