[GiNaC-devel] atan2 throws divide by zero

Jens Vollinga jensv at nikhef.nl
Thu Mar 25 10:44:16 CET 2010


Hi GeeBee,

Am 25.03.2010 00:17, schrieb G B:
> I stumbled upon this using Sage, but developers there have traced it to
> a problem in GiNaC by running the following in ginsh:
>
>  > atan2(-Pi,0);
>
> The response is:
> power::eval(): division by zero
>
> atan2 appears to work for other values, including (positive) (Pi,0), but
> (-Pi,0) fails.

thanks for the bug report. I fixed that bug in the repository.
Finally it is time to make a new release ... :-)

Regards,
Jens


More information about the GiNaC-devel mailing list