[fpc-pascal]Overflow problem with exponentiation
Peter Vreman
peter at freepascal.org
Thu Oct 10 07:29:38 CEST 2002
> I am having problems with overflows using Exp().
>
> Looking at the documentation, it appears that Exp
> is limited to a real result, but I need a larger
> number than that (the "Extended" floating
> point type is large enough).
>
> At least one other mathematical function (i.e., ABS) will
> accept any real type and return a result of the same type,
> and it would be nice if Exp, Ln, etc did this too.
>
> In the meantime, can anyone suggest a work-around
> (perhaps a special Extended Exp function)?
The Exp() function is declared with Extended. The documentation needs to
be updated
More information about the fpc-pascal
mailing list