#1306 rat(2/sqrt(2)),algebraic doesn't cancel

closed
nobody
5
2009-06-23
2007-12-18
Stavros Macrakis
No

ex: rat(2/sqrt(2)) => 2/sqrt(2) (previous bug report)
rat(ex),algebraic => 2*sqrt(2)/2 !!

Maxima 5.13.0 GCL 2.6.8 Windows

Discussion

  • Robert Dodier
    Robert Dodier
    2008-06-15

    • labels: --> Lisp Core - Polynomials
     
  • Robert Dodier
    Robert Dodier
    2008-06-15

    Logged In: YES
    user_id=501686
    Originator: NO

    same behavior observed in Maxima 5.14.99rc1 + GCL + Windows.

     
  • Dieter Kaiser
    Dieter Kaiser
    2009-06-23

    • status: open --> closed
     
  • Dieter Kaiser
    Dieter Kaiser
    2009-06-23

    With revision 1.80 of simp.lisp this example simplifies as expected:

    (%i2) ex:rat(2/sqrt(2));
    (%o2) sqrt(2)
    (%i3) rat(ex),algebraic;
    (%o3) sqrt(2)

    Closing this bug report as fixed.

    Dieter Kaiser