Menu

#4803 limit(1+zerob), numer : true vs limit(1+zeroa), numer : true;

None
open
nobody
5
22 hours ago
4 days ago
No

These are okay:

(%i2) limit(1+1/inf), numer : false;
(%o2)                                  1

(%i3) limit(1+1/inf), numer : true;
(%o3)                                  1

(%i4) limit(1+zeroa), numer : true;
(%o4)                                  1

This is inconsistent with %o4

(%i5) limit(1+zerob), numer : true;
(%o5)                                 1.0

I say this is a bug.

Discussion

  • David Scherfgen

    David Scherfgen - 22 hours ago
    • labels: limit, infinitesimals --> limit, infinitesimals, trigreduce
     
  • David Scherfgen

    David Scherfgen - 22 hours ago

    Tracing shows that $trigreduce is the culprit here:

    (%i1) trigreduce(1+1/x), numer;
    (%o1) 1/x+1
    
    (%i2) trigreduce(1-1/x),numer;
    (%o2) 1-1.0/x
    
     

Log in to post a comment.

Auth0 Logo