Arbitrary-precision integers (included): Difference between revisions
Content deleted Content added
→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)" |
|||
Line 2,448: | Line 2,448: | ||
Iterative elasped: 2412.5477 milliseconds.</pre>'''Remarks:''' Not much difference in execution times for three methods. But the exponents are relatively small. If one does need to evaluate an exponent greater than '''Int32.MaxValue''', the execution time will be measured in hours. |
Iterative elasped: 2412.5477 milliseconds.</pre>'''Remarks:''' Not much difference in execution times for three methods. But the exponents are relatively small. If one does need to evaluate an exponent greater than '''Int32.MaxValue''', the execution time will be measured in hours. |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
<syntaxhighlight lang="vlang">import math.big |
<syntaxhighlight lang="v (vlang)">import math.big |
||
import math |
import math |
||