ANONYMOUS wrote:
> Hi, currently I have all the functions double in the translated c file and it works fine even if the function doesn't have a return statement.
>
> I read that the return value is undefined for such functions in c so I just wanted to confirm that the return value of a function with no return statement won't be used in an expression in the ml file or do I need to check for that and throw an error in such a case?
Just add return 0.0 to the end of your functions if they don't have a return statement.