Anonymous user
Long multiplication: Difference between revisions
→{{header|Smalltalk}}
(→{{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}}==
|