Isqrt (integer square root) of X: Difference between revisions
Content added Content deleted
(Added VTL-2) |
(→{{header|VTL-2}}: notes) |
||
Line 6,595: | Line 6,595: | ||
=={{header|VTL-2}}== |
=={{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"> |
<syntaxhighlight lang="vtl2"> |
||
1000 X=0 |
1000 X=0 |