[GiNaC-devel] atan2 throws divide by zero

G B g.c.b.at.work at gmail.com
Thu Mar 25 00:17:28 CET 2010


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20100324/ed66570a/attachment.htm>


More information about the GiNaC-devel mailing list