[fpc-devel]bugs to close

Johannes Berg johannes at sipsolutions.com
Wed Nov 26 22:21:02 CET 2003

On Tue, 2003-11-25 at 13:25, Florian Klaempfl wrote:

> Which checks do you mean exactly?

Actually there are two things.
I originally thought it would be better to just let the FPU execute the
instructions and then catch the signal/exception/whatever after the

> I guess the poster meant that e.g. (-3)^2 is possible in inside real
> numbers however the default forumula exp(2*ln(-3)) faults on it.

And thats the other. And I'm an idiot for writing a patch that won't
work. Apologies for that. Attached is a patch that really fixes the
issue and does that by checking the arguments and doing a transformed

GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc
  Key-ID: 9AB78CA5 Johannes Berg <johannes at sipsolutions.de>
  Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: power.patch
Type: text/x-patch
Size: 923 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20031126/1428b9d9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20031126/1428b9d9/attachment.sig>

More information about the fpc-devel mailing list