Jump to content

Long multiplication: Difference between revisions

(→‎{{header|Slate}}: the code is correct - arbitrary precision integer arithmetic is built into the language)
Line 5,213:
(Note that arbitrary precision arithmetic is native in Smalltalk).
<lang smalltalk>(2 raisedTo: 64) * (2 raisedTo: 64).</lang>
or, to display it:
<lang smalltalk>Transcript showCR:(2 raisedTo: 64) * (2 raisedTo: 64).</lang>
{{out}}
340282366920938463463374607431768211456
 
=={{header|Tcl}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.