]> 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:08:54 +0000 (23:08 +0100)
commit704fe31c78553ffe2058c72bc4d17e6a1ae31350
tree885b34f30b43703a826c563271ce6d28bc75858f
parent7b3b8236e72d939ee9a9c0e83ca3bcf66eec1ce2
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