]> www.ginac.de Git - ginac.git/commit
Really fixed the atan2(-Pi, 0) bug.
authorRichard Kreckel <kreckel@ginac.de>
Thu, 25 Mar 2010 22:08:54 +0000 (23:08 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 25 Mar 2010 22:16:35 +0000 (23:16 +0100)
commitcb390522ea713a08a43799fbc1884fb7ad480784
treeaf59c282953127e2327826a8d98f4d354e88dd8a
parenteff5558e5d0c6dcc70883962ed3a72a1cc6ad03b
Really fixed the atan2(-Pi, 0) bug.

The problem was that atan2_eval assumed that if y is real and not
positive, it must be negative. But this neglects the fact that in
symbolic compution it may just not be possible to determine the
sign. Now, the expression is returned as it is. Ugly, but correct.
ginac/inifcns_trans.cpp