#2080 gruntz uses sign instead of csign

closed
nobody
2
2010-10-02
2010-09-21
No

Changing gruntz to use csign instead of sign would sometimes allow gruntz to return a nounform instead of an error; example:

(%i2) gruntz(sqrt(x),x,minf);
sign: argument cannot be imaginary; found %i

Discussion

  • Dan Gildea

    Dan Gildea - 2010-10-02

    Because "gruntz" is an algorithm, rather than a mathematically defined
    concept like "integrate" or "limit", I don't think it makes sense for gruntz
    to return a noun form. The algorithm does not apply to complex values,
    so calling it on a complex value is an error.

     
  • Dan Gildea

    Dan Gildea - 2010-10-02
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks