rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

rectform(atan2(y,0)) -> division by zero #1459

Closed rtoy closed 3 months ago

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-04 16:06:39 Created by crategus on 2010-10-02 13:16:16 Original: https://sourceforge.net/p/maxima/bugs/2084


(%i1) rectform(atan2(y,0));

Division by 0 -- an error. To debug this try: debugmode(true);

In the function risplit a check for a zero denominator is missing.

Dieter Kaiser

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-04 16:06:40 Created by crategus on 2010-10-02 14:06:18 Original: https://sourceforge.net/p/maxima/bugs/2084/#adb4


Fixed in revision 1.37 of rpart.lisp. A check for a zero denominator for the case atan2(y,x) and y/x is a real expression has been added. Closing this bug report as fixed. Dieter Kaiser