Joined: 29 Nov 2006
|Posted: Sun Sep 05, 2004 6:54 pm Post subject: What would cause an "Unknown floating point exception&q
|This error is usually caused by incorrectly calling functions that return real's.
For example, the following code would cause a floating point stack fault:
real function myfunc()
myfunc = 1.0
Note that if the function is declared as returning a real then the compiler will produce an error.
Ensure all your functions returning reals are being called correctly as functions.