Find limit of recursion: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: added syntax colouring the hard way, phix/basics) |
(made Fermat cry) |
||
Line 1,102: | Line 1,102: | ||
Type :help for debugging help. |
Type :help for debugging help. |
||
Recursion depth on this system is 65518. |
Recursion depth on this system is 65518. |
||
</pre> |
|||
=={{header|Fermat}}== |
|||
<lang fermat> |
|||
Func Sisyphus(n)=!!n;Sisyphus(n+1). |
|||
Sisyphus(0) |
|||
</lang> |
|||
{{out}} |
|||
<pre> |
|||
0 |
|||
1 |
|||
2 |
|||
... |
|||
41815 |
|||
41816 |
|||
Segmentation fault (core dumped) |
|||
</pre> |
</pre> |
||