Isqrt (integer square root) of X: Difference between revisions

(Added VTL-2)
Line 6,595:
 
=={{header|VTL-2}}==
The ISQRT routine starts at line 2000. As with other 16-bit language samples, only the roots of 7^1 and 7^3 are shown as Q would overflow when the root of 7^5 is calculated.
<syntaxhighlight lang="vtl2">
1000 X=0
3,026

edits