[fpc-devel] [patch] ucomplex cln() bug
florian at freepascal.org
Tue Nov 7 22:00:51 CET 2006
Dimitrios Apostolou schrieb:
> On Friday 04 August 2006 07:58, Dimitrios Apostolou wrote:
>> OK, I conclude. My symptoms are:
> I forgot to mention here that z=0
>> z**3-2= NanNani
>> z*z*z-2= -2.000000000000000E+000
>> After digging a bit I realized that this is not a problem of uComplex, but
>> a problem of math unit. In particular exp(-Inf) returns NaN, where it
>> should return 0.
> Hasn't anybody else the same problem? Who wrote the initial implementation for
Which one :)? E.g. which platform?
>> Unfortunately I got really lost when studying the
>> fpc_exp_real implementation, and when I saw that the actually used version
>> is in assembly I just gave up!
>> Any ideas of how it can be fixed?
>> Thanks in advance,
> fpc-devel maillist - fpc-devel at lists.freepascal.org
More information about the fpc-devel