[fpc-pascal]Double-precision recursion

Sebastian Günther sguenther at gmx.de
Thu Mar 29 22:08:34 CEST 2001


Rich Pasco wrote:
> 
> I would deeply appreciate anyone telling me just why the Pascal version
> fails.

Looks like a FPU stack overflow...?
If you reduce the line "p := get+cof(n);" just to "p := cof(n);", then
the program works. (ehmm, it doesn't crash anymore...)

But I'm somewhat surprised that BP sufferes from the same problem.


- Sebastian




More information about the fpc-pascal mailing list