Menu

#3121 gcfactor not idempotent

None
closed
nobody
None
5
2018-07-16
2016-04-04
No
gcfactor(-2) => %i*(1+%i)^2
gcfactor(%i*(1+%i)^2) => -2

Discussion

  • Stavros Macrakis

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,2 @@
    -    gfactor(-2) => %i*(1+%i)^2
    -    gfactor(%i*(1+%i)^2) => -2
    +    gcfactor(-2) => %i*(1+%i)^2
    +    gcfactor(%i*(1+%i)^2) => -2
    
     
  • Kris Katterjohn

    Kris Katterjohn - 2018-07-16
    • status: open --> closed
     
  • Kris Katterjohn

    Kris Katterjohn - 2018-07-16

    This seems to have been fixed by commit [7277f5].

    (%i1) gcfactor (-2);
    (%o1) %i*(1+%i)^2
    
    (%i2) gcfactor (%);
    (%o2) %i*(1+%i)^2
    

    Since this was the only example given of gcfactor not being idempotent, I'm closing this report. Of course, if there are other examples then we can re-open this.

     

    Related

    Commit: [7277f5]


Log in to post a comment.