Closed
Description
Simple example below shows a segmentation fault for a recursive function call.
thanks, jim
_
_ _ ()_ |
() | () () | A fresh approach to technical computing
_ _ | | __ _ |
| | | | | | |/ ` | | Version 0.0.0-prerelease
| | || | | | (| | | Commit c84deda (2012-02-28 19:39:42)
/ |_'|||__'| |
|__/ |
julia> f(n) = if (n == 0) 0 else f(n-1) + n
end
julia> f(10)
55
julia> f(10000000000)
Segmentation fault: 11