Post Reply 
Recursive functions and Advanced Graphing
09-14-2018, 08:44 AM
Post: #11
RE: Recursive functions and Advanced Graphing
(06-14-2014 06:43 PM)parisse Wrote:  I don't know any portable way to check for stack overflow in C. That's the reason for the max recursive eval parameter. Initially, you got a runtime error if the max number of recursive calls was reached, later I implemented a non-recursive evaluator (with dynamic allocation of the space required to make recursive calls), you don't get an error anymore, but it's slower, therefore the warning remains.

Perhaps on the G2, with 256Mb ram, the restriction could be relaxed?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Recursive functions and Advanced Graphing - Stevetuc - 09-14-2018 08:44 AM



User(s) browsing this thread: 4 Guest(s)